@harvest-profit/npk
Version:
NPK UI Design System
20 lines • 631 B
TypeScript
import React from 'react';
import { onChangeType, outputFormatType, valueType } from './helpers';
declare const DateInput: React.FC<DateInputProps>;
interface DateInputProps {
picker?: boolean;
autoDismiss?: boolean;
visibleMonths?: number;
granularity?: 'day' | 'month' | 'year' | 'minute' | 'time';
value?: valueType;
includeYear?: boolean;
monthAsName?: boolean;
isoType?: 'Date' | 'DateTime';
output?: outputFormatType;
onChange?: onChangeType;
name?: string;
[key: string]: any;
}
export default DateInput;
export type { DateInputProps };
//# sourceMappingURL=DateInput.d.ts.map