UNPKG

@rnwonder/react-date-picker

Version:

A lightweight, customizable, and accessible date picker component for React applications.

22 lines (20 loc) 688 B
import { default as React, SetStateAction } from 'react'; export interface ModalProps { children: any; isShown?: boolean; reference?: HTMLElement | null; class?: string; setIsShown?: React.Dispatch<SetStateAction<boolean>>; onClose?: () => void; useRefWidth?: boolean; style?: React.CSSProperties; referenceId?: string; hideDefaultStyle?: boolean; onClickOutside?: (e?: MouseEvent) => void; ignoreClickOutside?: boolean; innerWrapperClass?: string; clickOutsideRef?: HTMLElement | null; onClickOutsideRef?: (e?: MouseEvent) => void; portalContainer?: HTMLElement; } export declare const CustomPortal: React.FC<ModalProps>;