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:
Dave Pack
2017-11-02 18:14:15 -07:00
committed by Brent Vatne
parent 29ae6f46f6
commit c0474bb644
10 changed files with 240 additions and 228 deletions

View File

@@ -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