@skbkontur/cassandra-distributed-task-queue-ui
Version:
.NET library implementing distributed task queue machinery using Apache Cassandra
18 lines (17 loc) • 629 B
TypeScript
import { TimeZone } from "@skbkontur/edi-ui";
import { ReactElement } from "react";
import { DateTimeRange } from "../../Domain/DataTypes/DateTimeRange";
export interface PredefinedRangeDefinition {
tid?: string;
caption: string;
getRange: (timeZone?: TimeZone) => DateTimeRange;
}
export interface DateTimeRangePickerProps {
error?: boolean;
value: DateTimeRange;
onChange: (value: DateTimeRange) => void;
disabled?: boolean;
timeZone?: TimeZone;
hideTime?: boolean;
}
export declare function DateTimeRangePicker({ error, value, onChange, timeZone }: DateTimeRangePickerProps): ReactElement;