mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-30 17:33:21 +08:00
Summary:
Ability to pass styles to nested view for _position_ behavior.
Use case:
``` jsx
<KeyboardAvoidingView
behavior={'position'}
style={{ flex: 1 }}
contentContainerStyle={{ flex: 1 }}
keyboardVerticalOffset={ - VERTICAL_OFFSET }
>
<SomeContainer />
</KeyboardAvoidingView>
```
Closes https://github.com/facebook/react-native/pull/9065
Differential Revision: D3662876
Pulled By: javache
fbshipit-source-id: 9b08a04449431c4e563ef4464b5a7dba1fc02e4b