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 d40f6d8 commit f631472Copy full SHA for f631472
DateTime.d.ts
@@ -145,6 +145,14 @@ declare namespace ReactDatetimeClass {
145
See appearance customization
146
*/
147
renderYear?: (props: any, year: number, selectedDate: any) => JSX.Element;
148
+ /*
149
+ Customize the way that the Input is shown.
150
+ The accepted function has openCalendar (a function which opens the calendar),
151
+ closeCalendar (a function which closes the calendar), and
152
+ the default calculated props for the input. Must return a React component or null.
153
+ See appearance customization
154
+ */
155
+ renderInput?: (props: any, openCalendar: Function, closeCalendar: Function) => JSX.Element;
156
/*
157
Whether to use moment's strict parsing when parsing input.
158
0 commit comments