@hhgtech/hhg-components
Version:
Hello Health Group common components
18 lines (17 loc) • 673 B
TypeScript
import React from 'react';
import { Props as PureInputProps } from "../../atoms/pureInput";
import { DateRangeInterval } from "./types";
export type DateRangePickerProps = {
value: DateRangeInterval | null;
onChange: (value: DateRangeInterval | null) => void;
inputSize?: PureInputProps['size'];
name?: string;
minDate?: Date;
maxDate?: Date;
className?: string;
autoClose?: boolean;
};
/**
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
*/
export declare function DateRangePicker({ inputSize, name, value, minDate, maxDate, onChange, className, autoClose, }: DateRangePickerProps): React.JSX.Element;