Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://kyleamathews.github.io/react-gravatar/
React component for rendering a gravatar profile image
https://kyleamathews.github.io/react-gravatar/
Last synced: 3 months ago
JSON representation
React component for rendering a gravatar profile image
- Host: GitHub
- URL: https://kyleamathews.github.io/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-05-15T14:06:57.508Z (6 months ago)
- Language: JavaScript
- Homepage: http://kyleamathews.github.io/react-gravatar/
- Size: 2.09 MB
- Stars: 278
- Watchers: 9
- Forks: 33
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gatsby - React Gravatar - gravatar/tree/master/www)) (Table of Contents / Inspiration)
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```