More styling for statuses
This commit is contained in:
17
app/assets/javascripts/components/components/avatar.jsx
Normal file
17
app/assets/javascripts/components/components/avatar.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
const Avatar = React.createClass({
|
||||
|
||||
propTypes: {
|
||||
src: React.PropTypes.string.isRequired
|
||||
},
|
||||
|
||||
render () {
|
||||
return (
|
||||
<div style={{ width: '48px', height: '48px', flex: '0 0 auto' }}>
|
||||
<img src={this.props.src} width={48} height={48} alt='' style={{ display: 'block', borderRadius: '4px' }} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
export default Avatar;
|
Reference in New Issue
Block a user