@coveord/plasma-mantine
Version:
A Plasma flavoured Mantine theme
17 lines • 849 B
TypeScript
import { DatePickerProps, DateStringValue, type DatesRangeValue } from '@mantine/dates';
export interface EditableDateRangePickerProps {
value: DatesRangeValue<DateStringValue | null>;
onChange?(value: DatesRangeValue<DateStringValue> | null): void;
onFocus?: () => 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 EditableDateRangePicker: ({ value, onChange, onFocus, startProps, endProps, }: EditableDateRangePickerProps) => import("react/jsx-runtime").JSX.Element;
export type { DateRangePickerPreset } from './DateRangePickerPresetSelect';
//# sourceMappingURL=EditableDateRangePicker.d.ts.map