Skip to content

Commit

Permalink
add prop Modal.navigationBarTranslucent (#4446)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanleedev authored Jan 17, 2025
1 parent 78bc71c commit 976fe81
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,16 @@ The `hardwareAccelerated` prop controls whether to force hardware acceleration f

---

### `navigationBarTranslucent` <div class="label android">Android</div>

The `navigationBarTranslucent` prop determines whether your modal should go under the system navigation bar. However, `statusBarTranslucent` also needs to be set to `true` to make navigation bar translucent.

| Type | Default |
| ---- | ------- |
| bool | `false` |

---

### `onDismiss` <div class="label ios">iOS</div>

The `onDismiss` prop allows passing a function that will be called once the modal has been dismissed.
Expand Down

0 comments on commit 976fe81

Please sign in to comment.