Add tab bar alternative to desktop UI, upgrade react & react-redux
This commit is contained in:
parent
1bfbce7b45
commit
989c3f4002
9 changed files with 103 additions and 32 deletions
|
@ -10,7 +10,8 @@ import { mountCompose, unmountCompose } from '../../actions/compose';
|
|||
const Compose = React.createClass({
|
||||
|
||||
propTypes: {
|
||||
dispatch: React.PropTypes.func.isRequired
|
||||
dispatch: React.PropTypes.func.isRequired,
|
||||
withHeader: React.PropTypes.bool
|
||||
},
|
||||
|
||||
mixins: [PureRenderMixin],
|
||||
|
@ -25,7 +26,7 @@ const Compose = React.createClass({
|
|||
|
||||
render () {
|
||||
return (
|
||||
<Drawer>
|
||||
<Drawer withHeader={this.props.withHeader}>
|
||||
<SearchContainer />
|
||||
<NavigationContainer />
|
||||
<ComposeFormContainer />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue