We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ec1949 commit 554ba70Copy full SHA for 554ba70
index.d.ts
@@ -96,4 +96,22 @@ declare module "react-nice-dates" {
96
export function DateRangePickerCalendar(
97
props: DateRangePickerCalendarProps
98
): JSX.Element;
99
+
100
+ export function useDateInput({
101
+ date,
102
+ format,
103
+ locale,
104
+ minimumDate,
105
+ maximumDate,
106
+ onDateChange,
107
+ validate
108
+ }: {
109
+ date?: Date,
110
+ format?: string,
111
+ locale: Locale,
112
+ minimumDate?: Date,
113
+ maximumDate?: Date,
114
+ onDateChange: (date: Date) => void,
115
+ validate?: (date: Date) => boolean,
116
+ }): any
117
}
0 commit comments