Created
June 25, 2015 20:09
-
-
Save grabbou/0830fec044680b40e3e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PureComponent from 'react-pure-render/mixin'; | |
import React from 'react-native'; | |
import { | |
View, | |
Text | |
} from 'react-native'; | |
import TrackKeyboard from '../components/trackKeyboard.react'; | |
const CreateOrder = React.createClass({ | |
// Load required mixins | |
mixins: [PureComponent, TrackKeyboard], | |
render() { | |
const marginTop = -(this.state.keyboardSpace / 1.5); | |
return ( | |
<View style={{marginTop: marginTop}}></View> | |
); | |
} | |
}); | |
export default CreateOrder; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment