react-gravatar

React component for rendering a gravatar profile image

  • 所有者: KyleAMathews/react-gravatar
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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" />

主要指標

概覽
名稱與所有者KyleAMathews/react-gravatar
主編程語言JavaScript
編程語言Makefile (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2014-08-05 16:50:50
推送於2020-09-10 03:55:05
最后一次提交2020-09-09 22:55:03
發布數27
最新版本名稱v2.6.3 (發布於 2017-05-22 10:24:44)
第一版名稱v0.1.0 (發布於 2014-08-05 10:37:04)
用户参与
星數279
關注者數8
派生數33
提交數118
已啟用問題?
問題數30
打開的問題數10
拉請求數24
打開的拉請求數2
關閉的拉請求數100
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?