reactatar
v1.0.8
Published
Profile image by email address
Downloads
9
Readme
Reactatar
A simple Gravatar wrapper for React
Getting Started
Install from npm:
$ npm i reactatar
Or get the source code here:
$ git clone git clone https://[email protected]/davidjbarnes/reactatar.git
Usage
import Reactatar from 'Reactatar';
<Reactatar email={"[email protected]"} size={100} defaultImage={"mp"} rounded />
Props
- email: String
- size: Number (default: 80)
- defaultImage: Enum['mp','identicon','monsterid','wavatar','retro','robohash','blank'] (default: mp)
- rating: Enum['g','pg','r','x'] (default: r)
- rounded: Boolean (default: false)
Contributing
Email me: [email protected]
Authors
- David J Barnes - [email protected]
License
This project is licensed under the MIT License - see the LICENSE.md file for details