Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyleamathews/react-gravatar
React component for rendering a gravatar profile image
https://github.com/kyleamathews/react-gravatar
Last synced: 11 days ago
JSON representation
React component for rendering a gravatar profile image
- Host: GitHub
- URL: https://github.com/kyleamathews/react-gravatar
- Owner: KyleAMathews
- License: mit
- Created: 2014-08-05T16:50:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-09-10T03:55:05.000Z (about 4 years ago)
- Last Synced: 2024-10-29T20:26:41.076Z (14 days ago)
- Language: JavaScript
- Homepage: http://kyleamathews.github.io/react-gravatar/
- Size: 2.09 MB
- Stars: 279
- Watchers: 9
- Forks: 33
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
react-gravatar
==============React component for rendering a gravatar profile image. Adjusts automatically to HiDPI displays.
## Demo
http://kyleamathews.github.io/react-gravatar/## Install
`npm install react-gravatar`## Usage
See https://en.gravatar.com/site/implement/images/ for documentation on
all the options.### Avoid exposing email
If you wish to avoid sending an email address to the client, you can
compute the md5 hash on the server and pass the hash to the component
using the `md5` prop instead of the `email` prop.### Defaults
* 50x50 image
* g rated photos
* http
* retro backup faces for emails without profiles
* `react-gravatar` css class### Use defaults
```jsx```
### Override all defaults
```jsx```