Modal
Temporary, focused container that appears on top of the main screen. It's used for displaying content or capturing user input without navigating to a new page, enhancing user interaction and maintaining context. Modals often include text, images, forms, and buttons for interactive experiences.
Import
import { Modal } from "io-elements"
Usage
Props
| NAME | TYPE | REQUIRED | DEFAULT |
|---|
|
| children | React.ReactNode | true | |
| isVisible | boolean | true | true |
| onClose | () => void | false | () => {} |
| CloseOnBackdropPress | StyleProp<ViewStyle> | false | true |