You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
853 B

  1. import PureRenderMixin from 'react-addons-pure-render-mixin';
  2. import StatusListContainer from '../ui/containers/status_list_container';
  3. import Column from '../ui/components/column';
  4. import { defineMessages, injectIntl } from 'react-intl';
  5. import ColumnSettingsContainer from './containers/column_settings_container';
  6. const messages = defineMessages({
  7. title: { id: 'column.home', defaultMessage: 'Home' }
  8. });
  9. const HomeTimeline = React.createClass({
  10. propTypes: {
  11. intl: React.PropTypes.object.isRequired
  12. },
  13. mixins: [PureRenderMixin],
  14. render () {
  15. const { intl } = this.props;
  16. return (
  17. <Column icon='home' heading={intl.formatMessage(messages.title)}>
  18. <ColumnSettingsContainer />
  19. <StatusListContainer {...this.props} type='home' />
  20. </Column>
  21. );
  22. },
  23. });
  24. export default injectIntl(HomeTimeline);