/** * Modal * Dependencies: * - @gorhom/bottom-sheet. * * Props: * - All `BottomSheetModalProps` props. * - `title` (string | undefined): Optional title for the modal header. * * Usage Example: * import { Modal, useModal } from '@gorhom/bottom-sheet'; * * function DisplayModal() { * const { ref, present, dismiss } = useModal(); * * return ( * * * Modal Content * * * ); * } * */ import type { BottomSheetBackdropProps, BottomSheetModalProps } from '@gorhom/bottom-sheet'; import { BottomSheetModal } from '@gorhom/bottom-sheet'; import * as React from 'react'; export declare const useModal: () => { ref: React.RefObject; present: (data?: any) => void; dismiss: () => void; }; export declare const Modal: React.ForwardRefExoticComponent & { title?: string; } & React.RefAttributes>; export declare const renderBackdrop: (props: BottomSheetBackdropProps) => React.JSX.Element; //# sourceMappingURL=modal.d.ts.map