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 react-native-bottom-sheet
isOpen
Boolean to indicate if modal is opened or not.
Type | Required | Default |
---|---|---|
boolean | No | false |
onClose
Method called when modal is closed by user.
Type | Required |
---|---|
() => void | No |