mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
54d8f221c2
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