import PureRenderMixin from 'react-addons-pure-render-mixin'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Button from '../../../components/button'; const Header = React.createClass({ propTypes: { account: ImmutablePropTypes.map.isRequired, onFollow: React.PropTypes.func.isRequired, onUnfollow: React.PropTypes.func.isRequired }, mixins: [PureRenderMixin], render () { const { account } = this.props; return (
{account.get('display_name')} @{account.get('acct')}

{account.get('note')}

); } }); export default Header;