blob: 6670a654e73de74d0098cfd6bc21a5136a108b1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// @flow
import React, { Component } from 'react';
import { KeyboardAvoidingView } from 'react-native';
export default class PlatformWindow extends Component {
props: {
children: Array<React.Element<*>> | React.Element<*>
};
render() {
return (
<KeyboardAvoidingView behavior={'position'}>
{ this.props.children }
</KeyboardAvoidingView>
);
}
}
|