UNPKG

modal-sheet

Version:
20 lines (19 loc) 558 B
import React from 'react'; import { ColorValue } from 'react-native'; interface Modal { close(): void; open(): void; } export interface ModalProps { size?: 'xs' | 's' | 'm' | 'l' | 'xl' | 'full'; dragColor?: ColorValue; dragShadowColor?: ColorValue; disableDrag?: boolean; backDropColor?: string; onClosed?(): void; innerKey?: React.Key; } declare const Modal: React.MemoExoticComponent<React.ForwardRefExoticComponent<ModalProps & { children?: React.ReactNode; } & React.RefAttributes<Modal>>>; export default Modal;