summaryrefslogtreecommitdiffhomepage
path: root/app/components/PlatformWindow.android.js
blob: 9d15466f56053d8fc92e8667d88bf6fb7676b0fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// @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>;
  }
}