Avatar component for React that displays an avatar with initials based on user's name.
{
name: React.PropTypes.string.isRequired,
width: React.PropTypes.number,
height: React.PropTypes.number
}
npm install --save reax-avatar
import React from 'react';
import Avatar from 'reax-avatar';
const Foo = () => (
<Avatar name="Bar" />
);
export default Foo;