Cleaning up action names and compose drawer

This commit is contained in:
Eugen Rochko
2016-08-31 16:15:12 +02:00
parent 92afd29650
commit 72591cc6d5
29 changed files with 468 additions and 151 deletions

View File

@@ -2,12 +2,16 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
import Avatar from './avatar';
import DisplayName from './display_name';
import RelativeTimestamp from './relative_timestamp';
import PureRenderMixin from 'react-addons-pure-render-mixin';
const Status = React.createClass({
propTypes: {
status: ImmutablePropTypes.map.isRequired
},
mixins: [PureRenderMixin],
render () {
var content = { __html: this.props.status.get('content') };
var status = this.props.status;
@@ -30,6 +34,7 @@ const Status = React.createClass({
</div>
);
}
});
export default Status;