Skip to content

Commit eac670a

Browse files
committed
Add headerTransparent and headerBackground to docs
1 parent da85e92 commit eac670a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/stack-navigator.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ Tint color for the header
129129

130130
Color for material ripple (Android >= 5.0 only)
131131

132+
#### `headerTransparent`
133+
134+
Defaults to `false`. If `true`, the header will not have a background unless you explicitly provide it with `headerStyle` or `headerBackground`.
135+
136+
#### `headerBackground`
137+
138+
Use this with `headerTransparent` to provide a component to render in the background of the header. You can use this with a blur view, for example, to create a translucent header.
139+
132140
#### `gesturesEnabled`
133141

134142
Whether you can use gestures to dismiss this screen. Defaults to true on iOS, false on Android.

0 commit comments

Comments
 (0)