Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lwhiteley/react-native-gravatar
react-native wrapper for gravatar-api
https://github.com/lwhiteley/react-native-gravatar
Last synced: 5 days ago
JSON representation
react-native wrapper for gravatar-api
- Host: GitHub
- URL: https://github.com/lwhiteley/react-native-gravatar
- Owner: lwhiteley
- License: mit
- Created: 2016-03-13T20:56:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-14T01:21:56.000Z (almost 8 years ago)
- Last Synced: 2024-11-09T10:41:32.662Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/react-native-gravatar
- Size: 5.86 KB
- Stars: 17
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-react-native - react-native-gravatar ★13 - react-native wrapper for gravatar-api (Components / UI)
- awesome-reactnative-ui - react-native-gravatar - native wrapper for gravatar-api|<ul><li>Last updated : 2 months ago</li><li>Stars : 14</li><li>Open issues : 0</li></ul>|![]()| (Others)
- awesome-react-native - react-native-gravatar ★13 - react-native wrapper for gravatar-api (Components / UI)
- awesome-reactnative-ui - react-native-gravatar - native wrapper for gravatar-api|<ul><li>Last updated : 2 months ago</li><li>Stars : 14</li><li>Open issues : 0</li></ul>|![]()| (Others)
- awesome-react-native - react-native-gravatar ★13 - react-native wrapper for gravatar-api (Components / UI)
- awesome-react-native-ui - react-native-gravatar ★5 - react-native wrapper for gravatar-api (Components / UI)
- awesome-react-native - react-native-gravatar ★13 - react-native wrapper for gravatar-api (Components / UI)
README
react-native-gravatar
=============### Install
```shell
npm install --save react-native-gravatar
```### Use
eg.
```js
import React, { Component } from 'react';
import {StyleSheet} from 'react-native';
import {Gravatar, GravatarApi} from 'react-native-gravatar';class MyComponent extends Component {
render() {return (
)
}
}var styles = StyleSheet.create({
roundedProfileImage: {
width:100, height:100, borderWidth:3,
borderColor:'white', borderRadius:50
}
})```
For a better idea of what options can be passed, please view [gravatar-api](https://www.npmjs.com/package/gravatar-api)
### Notes
- pull requests are welcome