UNPKG

@rnwonder/solid-date-picker

Version:

A responsive, highly-customizable datepicker component for SolidJS.

21 lines (20 loc) 706 B
import { Component, Setter, JSX, Accessor } from "solid-js"; export interface ModalProps { children: any; isShown?: boolean; reference?: Accessor<HTMLElement | undefined>; class?: string; setIsShown: Setter<boolean>; onClose?: () => void; useRefWidth?: boolean; style?: JSX.CSSProperties | undefined; referenceId?: string; hideDefaultStyle?: boolean; onClickOutside?: (e?: MouseEvent) => void; ignoreClickOutside?: boolean; innerWrapperClass?: string; clickOutsideRef?: Accessor<HTMLElement | undefined>; onClickOutsideRef?: (e?: MouseEvent) => void; portalContainer?: HTMLElement; } export declare const CustomPortal: Component<ModalProps>;