@spaced-out/ui-design-system
Version:
Sense UI components library
22 lines • 833 B
TypeScript
import type { Flow } from 'flow-to-typescript-codemod';
import type { DateRangePickerError, DateRangeWithTimezone } from '../../types';
type ClassNames = Readonly<{
wrapper?: string;
}>;
export type 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;
};
export declare const DateRangePicker: Flow.AbstractComponent<DateRangePickerProps, HTMLDivElement>;
export {};
//# sourceMappingURL=DateRangePicker.d.ts.map