react-gravatar

React component for rendering a gravatar profile image

react-gravatar downloads react-gravatar version react-gravatar license

react-gravatarÄhnliche Pakete:
npm-Download-Trend
3 Jahre
🌟 Zeige das Echtzeit-Nutzungsdiagramm in der react-gravatar README.md an, kopiere einfach den untenstehenden Code.
## Usage Trend
[![Usage Trend of react-gravatar](https://npm-compare.com/img/npm-trend/THREE_YEARS/react-gravatar.png)](https://npm-compare.com/react-gravatar#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Zeige das GitHub Stars Trend-Diagramm in der react-gravatar README.md an, kopiere einfach den untenstehenden Code.
## GitHub Stars Trend
[![GitHub Stars Trend of react-gravatar](https://npm-compare.com/img/github-trend/react-gravatar.png)](https://npm-compare.com/react-gravatar)
Statistik-Detail
Paket
Downloads
Stars
Größe
Issues
Veröffentlichung
Lizenz
react-gravatar23,415282-12vor 8 JahrenMIT
README für react-gravatar

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

<Gravatar email="mathews.kyle@gmail.com" />

Override all defaults

<Gravatar email="mathews.kyle@gmail.com" size={100} rating="pg" default="monsterid" className="CustomAvatar-image" />