gravatar-react
v1.1.0
Published
React component for display gravatar profile image.
Downloads
4
Readme
React Gravatar
React component for rending gravatar images.
Install
npm install gravatar-react
Usage
Simple example
<Gravatar email="[email protected]" />
or
<Gravatar
email="[email protected]"
size=100
rating="PG"
alt="Alvin Dickson profile"
secure
/>
Options
- email -- profile image
- size -- profile size, default 50
- rating -- image rating, default G
- alt -- alt image
- secure -- require secure images, default false
- force -- force the default image to always load
- default -- default gravatar when email have no matches images
License
MIT