Skip to content

Commit d737e11

Browse files
committed
Document cardOverlay
1 parent 3c30fe2 commit d737e11

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

versioned_docs/version-5.x/stack-navigator.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,10 @@ Use this prop to have visible shadows during transitions. Defaults to `true`.
305305

306306
Use this prop to have a semi-transparent dark overlay visible under the card during transitions. Defaults to `true` on Android and `false` on iOS.
307307

308+
#### `cardOverlay`
309+
310+
Function which returns a React Element to display as the overlay for the card. Make sure to set `cardOverlayEnabled` to `true` when using this.
311+
308312
#### `cardStyle`
309313

310314
Style object for the card in stack. You can provide a custom background color to use instead of the default background here.

0 commit comments

Comments
 (0)