summaryrefslogtreecommitdiffhomepage
path: root/app/components/PlatformWindow.android.js
blob: 32f9a4f3bf042cec8a99fcdcaf2dffb00e491263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// @flow

import * as React from 'react';
import { KeyboardAvoidingView } from 'react-native';

export default class PlatformWindow extends React.Component {
  props: {
    children: Array<React.Node> | React.Node,
  };

  render() {
    return <KeyboardAvoidingView behavior={'position'}>{this.props.children}</KeyboardAvoidingView>;
  }
}