Optional
animationAnimation configuration.
Optional
backdropBackdrop configuration.
Optional
childrenModal children.
Optional
hardwareControls whether to force hardware acceleration for the underlying window.
Optional
navigationShould the navigation bar be translucent.
Optional
onCallback fired when the backdrop is pressed.
Optional
onCallback fired when the back button is pressed.
Optional
onCallback fired when the modal is hidden.
Optional
onThe onOrientationChange callback is called when the orientation changes while the modal is being displayed. The orientation provided is only 'portrait' or 'landscape'. This callback is also called on initial render, regardless of the current orientation.
Optional
onCallback fired when the modal is shown.
Optional
onCallback fired when a swipe gesture is canceled.
Optional
onCallback fired when a swipe gesture completes successfully.
Optional
statusShould the status bar be translucent.
Optional
styleChildren container style.
Optional
supportedThe supportedOrientations prop allows the modal to be rotated to any of the specified orientations. On iOS, the modal is still restricted by what's specified in your app's Info.plist's UISupportedInterfaceOrientations field.
Optional
swipeSwipe configuration.
Optional
visibleThe visible prop determines whether your modal is visible.
Props for the Modal component. This is the type intended for end-user usage. All properties are optional.