mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-10 22:47:02 +08:00
SafeAreaView padding from style prop (#2889)
* SafeAreaView now adds padding from style object. If height is specified, inset padding is added to height. * Header now only accepts headerStyle prop, backgroundColor works as expected. * TabBarBottom now only accepts style prop, backgroundColor works as expected. Fixes top inset bug. * Update snapshot. * Add clarifying comment. * Support padding with percentage.
This commit is contained in:
@@ -135,10 +135,6 @@ Style object for the header
|
||||
|
||||
Style object for the title component
|
||||
|
||||
### `headerBackgroundColor`
|
||||
|
||||
Color string that overrides default background color.
|
||||
|
||||
#### `headerBackTitleStyle`
|
||||
|
||||
Style object for the back title
|
||||
|
||||
Reference in New Issue
Block a user