UNPKG

@shonum/tailwind-datepicker-react

Version:

A tailwindcss/flowbite datepicker component built as a react component with types

33 lines 800 B
import { ReactElement } from "react"; interface ITheme { background: string; todayBtn: string; clearBtn: string; icons: string; text: string; disabledText: string; input: string; inputIcon: string; selected: string; } interface IIcons { prev: () => ReactElement | JSX.Element; next: () => ReactElement | JSX.Element; } export interface IOptions { title?: string; autoHide?: boolean; todayBtn?: boolean; clearBtn?: boolean; maxDate?: Date; minDate?: Date; theme?: ITheme; icons?: IIcons; datepickerClassNames?: string; defaultDate?: Date; language?: string; customDatePickerRef?: React.RefObject<HTMLDivElement>; } declare const options: IOptions; export default options; //# sourceMappingURL=Options.d.ts.map