react-lt-avatar
v1.0.4
Published
react-letter-avatar === 根据用户名创建letter avatar(discourse, ruby-china同款)
Downloads
3
Readme
react-letter-avatar
根据用户名创建letter avatar(discourse, ruby-china同款)
DEMO
git clone https://github.com/DawnyWu/react-letter-avatar.git
npm install
cd example
npm start
在浏览器中打开 http://localhost:3001 即可查看例子
使用
npm install react-letter-avatar --save
import ReactLetterAvatar from 'react-letter-avatar'
<ReactLetterAvatar
name="Dawny Wu"
size={50}
radius={20}
/>
Inspired by
License
MIT