@harvest-profit/npk
Version:
NPK UI Design System
30 lines • 876 B
TypeScript
interface DateRangeInputProps {
value?: {
start: Date;
end: Date;
};
picker?: boolean;
visibleMonths?: number;
includeYear?: boolean;
monthAsName?: boolean;
output?: 'ISO' | 'timestamp' | 'Date';
onChange?: (range: {
start: Date;
end: Date;
}) => void;
[key: string]: any;
}
declare const DateRangeInput: ({ picker, visibleMonths, value: externalValue, onChange: onExternalChange, granularity, output, includeYear, monthAsName, ...props }: {
[x: string]: any;
picker: any;
visibleMonths?: number;
value: any;
onChange: any;
granularity?: string;
output?: string;
includeYear?: boolean;
monthAsName?: boolean;
}) => import("react/jsx-runtime").JSX.Element;
export default DateRangeInput;
export type { DateRangeInputProps };
//# sourceMappingURL=DateRangeInput.d.ts.map