UNPKG

@skbkontur/cassandra-distributed-task-queue-ui

Version:

.NET library implementing distributed task queue machinery using Apache Cassandra

33 lines (32 loc) 956 B
import { TimeZone, Time } from "@skbkontur/edi-ui"; import { ReactElement, Component } from "react"; interface DatePickerProps { value: Nullable<Date>; onChange: (value: Nullable<Date>) => void; width?: React.ReactText; minDate?: Date | string; maxDate?: Date | string; isHoliday?: (day: string, isWeekend: boolean) => boolean; timeZone?: TimeZone | number; defaultTime?: Time; disabled?: boolean; error?: boolean; } interface DatePickerState { date: string; } export declare class DatePicker extends Component<DatePickerProps, DatePickerState> { state: { date: string; }; static defaultProps: { timeZone: TimeZone; }; componentDidMount(): void; componentDidUpdate(prevProps: DatePickerProps): void; render(): ReactElement; private readonly handleChange; private readonly convertStringToDate; private readonly convertDateToStringWithTimezone; } export {};