@spaced-out/ui-design-system
Version:
Sense UI components library
23 lines • 856 B
TypeScript
import type { Flow } from 'flow-to-typescript-codemod';
import type { DateRangePickerError, DateRangeWithTimezone } from '../../types';
type ClassNames = Readonly<{
wrapper?: string;
}>;
export interface DateRangePickerProps {
classNames?: ClassNames;
selectedDateRange?: DateRangeWithTimezone;
onApply: (datePickerSelectedRange: DateRangeWithTimezone) => void;
onError?: (arg1: DateRangePickerError) => void;
onCancel: () => void;
hideTimezone?: boolean;
minDate?: string;
maxDate?: string;
startDateLabel?: string;
endDateLabel?: string;
t?: ((key: string, fallback: string) => string) | null | undefined;
locale?: string;
testId?: string;
}
export declare const DateRangePicker: Flow.AbstractComponent<DateRangePickerProps, HTMLDivElement>;
export {};
//# sourceMappingURL=DateRangePicker.d.ts.map