@harvest-profit/npk
Version:
NPK UI Design System
25 lines • 724 B
TypeScript
import React from 'react';
import { valueType } from './helpers';
interface DateRangeInputProps {
value?: {
start: valueType;
end: valueType;
};
picker?: boolean;
visibleMonths?: number;
includeYear?: boolean;
monthAsName?: boolean;
isoType?: 'Date' | 'DateTime';
granularity?: 'day' | 'month' | 'year' | 'minute' | 'time';
output?: 'ISO' | 'timestamp' | 'Date';
onChange?: (range: {
start: valueType;
end: valueType;
}) => void;
name?: string;
[key: string]: any;
}
declare const DateRangeInput: React.FC<DateRangeInputProps>;
export default DateRangeInput;
export type { DateRangeInputProps };
//# sourceMappingURL=DateRangeInput.d.ts.map