DraggableModal
Component to render a draggable modal, based on react-native-bottom-sheet
https://github.com/gorhom/react-native-bottom-sheet (opens in a new tab)
Import
import { DraggableModal } from "react-native-ficus-ui";Usage
EDITABLE EXAMPLE
Props
Extends every Box props and BottomSheetModalProps from @gorhom/bottom-sheet
isOpen
Boolean to indicate if the modal is opened or not.
| Type | Required | Default |
|---|---|---|
| boolean | No |
onClose
Method called when the modal is closed by the user.
| Type | Required | Default |
|---|---|---|
| () => void | No |