node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

react-letter-avatar

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 即可查看例子

使用

<ReactLetterAvatar 
  name="Dawny Wu"
  size={50}
  radius={20}
/>

Inspired by

letter_avatar

License

MIT