@harvest-profit/npk
Version:
NPK UI Design System
29 lines • 987 B
TypeScript
declare const DateInput: ({ visibleMonths, autoDismiss, presets, picker, output, includeYear, monthAsName, onChange: onExternalChange, value: externalValue, granularity, excludeGroup, ...props }: {
[x: string]: any;
visibleMonths?: number;
autoDismiss?: boolean;
presets?: boolean;
picker?: boolean;
output?: string;
includeYear?: boolean;
monthAsName?: boolean;
onChange?: (_value: any) => any;
value: any;
granularity?: string;
excludeGroup: any;
}) => import("react/jsx-runtime").JSX.Element;
interface DateInputProps {
picker?: boolean;
autoDismiss?: boolean;
visibleMonths?: number;
granularity?: 'day' | 'month' | 'year' | 'minute' | 'time';
value?: Date;
includeYear?: boolean;
monthAsName?: boolean;
output?: 'ISO' | 'timestamp' | 'Date';
onChange?: (date: Date) => void;
[key: string]: any;
}
export default DateInput;
export type { DateInputProps };
//# sourceMappingURL=DateInput.d.ts.map