diff options
Diffstat (limited to 'app/components/PlatformWindow.android.js')
| -rw-r--r-- | app/components/PlatformWindow.android.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/components/PlatformWindow.android.js b/app/components/PlatformWindow.android.js new file mode 100644 index 0000000000..bccc82a5b5 --- /dev/null +++ b/app/components/PlatformWindow.android.js @@ -0,0 +1,18 @@ +// @flow +import React, { Component } from 'react'; +import { KeyboardAvoidingView } from 'react-native'; +import { MobileAppBridge } from 'NativeModules'; + +export default class PlatformWindow extends Component { + props: { + children: Array<React.Element<*>> | React.Element<*> + }; + + render() { + return ( + <KeyboardAvoidingView behavior={'position'}> + { this.props.children } + </KeyboardAvoidingView> + ); + } +}
\ No newline at end of file |
