プロジェクト
GitHubで見る
KyleAMathews/react-gravatar
概要
React component for rendering a gravatar profile image
制作・メディア計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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-gravatarcss class
Use defaults
<Gravatar email="[email protected]" />
Override all defaults
<Gravatar
email="[email protected]"
size={100}
rating="pg"
default="monsterid"
className="CustomAvatar-image"
style={{margin: '10px'}}
protocol="https://"
/>
関連プロジェクトを探す
読み込み中…