about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/compose/index.jsx
blob: 4be938158549237f126f06b380557ac3de5f9788 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import Drawer               from '../ui/components/drawer';
import ComposeFormContainer from '../ui/containers/compose_form_container';
import FollowFormContainer  from '../ui/containers/follow_form_container';
import UploadFormContainer  from '../ui/containers/upload_form_container';
import NavigationContainer  from '../ui/containers/navigation_container';
import PureRenderMixin      from 'react-addons-pure-render-mixin';

const Compose = React.createClass({

  mixins: [PureRenderMixin],

  render () {
    return (
      <Drawer>
        <div style={{ flex: '1 1 auto' }}>
          <NavigationContainer />
          <ComposeFormContainer />
          <UploadFormContainer />
        </div>

        <FollowFormContainer />
      </Drawer>
    );
  }

});

export default Compose;