UNPKG

@coveord/plasma-mantine

Version:

A Plasma flavoured Mantine theme

23 lines 985 B
import { DatePickerProps, DatesRangeValue, DateStringValue } from '@mantine/dates'; export interface EditableDateTimeRangePickerProps { value: DatesRangeValue<DateStringValue | null>; /** * The format of the date in the input */ dateFormat?: string; /** * The format of the time in the time picker, either 12h or 24h */ timePickerFormat?: '12h' | '24h'; onChange?(value: DatesRangeValue<DateStringValue | null>): void; /** * Props for the start input */ startProps?: Omit<Partial<DatePickerProps>, 'value' | 'onChange' | 'onFocus'>; /** * Props for the end input */ endProps?: Omit<Partial<DatePickerProps>, 'value' | 'onChange' | 'onFocus'>; } export declare const EditableDateTimeRangePicker: ({ value, dateFormat, onChange, timePickerFormat, startProps, endProps, }: EditableDateTimeRangePickerProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=EditableDateTimeRangePicker.d.ts.map