Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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