UNPKG

@skbkontur/db-viewer-ui

Version:

Database Viewer with custom configuration

17 lines (16 loc) 606 B
import { Time, TimeZone } from "@skbkontur/edi-ui"; import { type ReactElement } from "react"; interface DatePickerProps { value: Nullable<Date>; onChange: (value: Nullable<Date>) => void; width?: string | number; minDate?: Date | string; maxDate?: Date | string; isHoliday?: (day: string, isWeekend: boolean) => boolean; timeZone?: TimeZone | number; defaultTime?: Time; disabled?: boolean; error?: boolean; } export declare const DatePicker: ({ defaultTime, maxDate, minDate, onChange, timeZone, value, ...restProps }: DatePickerProps) => ReactElement; export {};