|
1 | 1 | # `index` (component)
|
2 | 2 |
|
3 |
| -| name | type | default value | description | |
4 |
| -| ---------------------------- | ------------------------------ | ------------------ | ----------- | |
5 |
| -| `adjustDateOnChange` | `bool` | | | |
6 |
| -| `allowSameDay` | `bool` | `false` | | |
7 |
| -| `autoComplete` | `string` | | | |
8 |
| -| `autoFocus` | `bool` | | | |
9 |
| -| `calendarClassName` | `string` | | | |
10 |
| -| `calendarContainer` | `func` | | | |
11 |
| -| `children` | `node` | | | |
12 |
| -| `className` | `string` | | | |
13 |
| -| `clearButtonTitle` | `string` | | | |
14 |
| -| `customInput` | `element` | | | |
15 |
| -| `customInputRef` | `string` | | | |
16 |
| -| `dateFormat` | `union(string\|array)` | `"MM/dd/yyyy"` | | |
17 |
| -| `dateFormatCalendar` | `string` | `"LLLL yyyy"` | | |
18 |
| -| `dayClassName` | `func` | | | |
19 |
| -| `disabled` | `bool` | `false` | | |
20 |
| -| `disabledKeyboardNavigation` | `bool` | `false` | | |
21 |
| -| `dropdownMode` | `enum("scroll"\|"select")` | `"scroll"` | | |
22 |
| -| `endDate` | `instanceOfDate` | | | |
23 |
| -| `excludeDates` | `array` | | | |
24 |
| -| `excludeTimes` | `array` | | | |
25 |
| -| `filterDate` | `func` | | | |
26 |
| -| `fixedHeight` | `bool` | | | |
27 |
| -| `forceShowMonthNavigation` | `bool` | | | |
28 |
| -| `formatWeekDay` | `func` | | | |
29 |
| -| `formatWeekNumber` | `func` | | | |
30 |
| -| `highlightDates` | `array` | | | |
31 |
| -| `id` | `string` | | | |
32 |
| -| `includeDates` | `array` | | | |
33 |
| -| `includeTimes` | `array` | | | |
34 |
| -| `injectTimes` | `array` | | | |
35 |
| -| `inline` | `bool` | | | |
36 |
| -| `inlineFocusSelectedMonth` | `bool` | `false` | | |
37 |
| -| `isClearable` | `bool` | | | |
38 |
| -| `locale` | `union(string\|shape)` | | | |
39 |
| -| `maxDate` | `instanceOfDate` | | | |
40 |
| -| `maxTime` | `instanceOfDate` | | | |
41 |
| -| `minDate` | `instanceOfDate` | | | |
42 |
| -| `minTime` | `instanceOfDate` | | | |
43 |
| -| `monthsShown` | `number` | `1` | | |
44 |
| -| `name` | `string` | | | |
45 |
| -| `nextMonthButtonLabel` | `string` | `"Next month"` | | |
46 |
| -| `onBlur` | `func` | `function() {}` | | |
47 |
| -| `onChange` | `func` | `function() {}` | | |
48 |
| -| `onChangeRaw` | `func` | | | |
49 |
| -| `onClickOutside` | `func` | `function() {}` | | |
50 |
| -| `onDayMouseEnter` | `func` | | | |
51 |
| -| `onFocus` | `func` | `function() {}` | | |
52 |
| -| `onInputClick` | `func` | `function() {}` | | |
53 |
| -| `onInputError` | `func` | `function() {}` | | |
54 |
| -| `onKeyDown` | `func` | `function() {}` | | |
55 |
| -| `onMonthChange` | `func` | `function() {}` | | |
56 |
| -| `onMonthMouseLeave` | `func` | | | |
57 |
| -| `onSelect` | `func` | `function() {}` | | |
58 |
| -| `onWeekSelect` | `func` | | | |
59 |
| -| `onYearChange` | `func` | `function() {}` | | |
60 |
| -| `open` | `bool` | | | |
61 |
| -| `openToDate` | `instanceOfDate` | | | |
62 |
| -| `peekNextMonth` | `bool` | | | |
63 |
| -| `placeholderText` | `string` | | | |
64 |
| -| `popperClassName` | `string` | | | |
65 |
| -| `popperContainer` | `func` | | | |
66 |
| -| `popperModifiers` | `object` | | | |
67 |
| -| `popperPlacement` | `enumpopperPlacementPositions` | | | |
68 |
| -| `popperProps` | `object` | | | |
69 |
| -| `preventOpenOnFocus` | `bool` | `false` | | |
70 |
| -| `previousMonthButtonLabel` | `string` | `"Previous Month"` | | |
71 |
| -| `readOnly` | `bool` | `false` | | |
72 |
| -| `renderCustomHeader` | `func` | | | |
73 |
| -| `renderDayContents` | `func` | `function(date) { | |
74 |
| - |
75 |
| -return date; |
76 |
| -}`|| |`required`|`bool`||| |`scrollableMonthYearDropdown`|`bool`||| |`scrollableYearDropdown`|`bool`||| |`selected`|`instanceOfDate`||| |`selectsEnd`|`bool`||| |`selectsStart`|`bool`||| |`shouldCloseOnSelect`|`bool`|`true`|| |`showDisabledMonthNavigation`|`bool`||| |`showMonthDropdown`|`bool`||| |`showMonthYearDropdown`|`bool`||| |`showMonthYearPicker`|`bool`|`false`|| |`showTimeInput`|`bool`|`false`|| |`showTimeSelect`|`bool`|`false`|| |`showTimeSelectOnly`|`bool`||| |`showWeekNumbers`|`bool`||| |`showYearDropdown`|`bool`||| |`startDate`|`instanceOfDate`||| |`startOpen`|`bool`||| |`strictParsing`|`bool`|`false`|| |`tabIndex`|`number`||| |`timeCaption`|`string`|`"Time"`|| |`timeFormat`|`string`||| |`timeInputLabel`|`string`|`"Time"`|| |`timeIntervals`|`number`|`30`|| |`title`|`string`||| |`todayButton`|`node`||| |`useShortMonthInDropdown`|`bool`||| |`useWeekdaysShort`|`bool`||| |`value`|`string`||| |`weekLabel`|`string`||| |`withPortal`|`bool`|`false`|| |`yearDropdownItemNumber`|`number`||| |
| 3 | +| name | type | default value | description | |
| 4 | +|------------------------------- |-------------------------------- |-------------------- |------------- | |
| 5 | +| `adjustDateOnChange` | `bool` | | | |
| 6 | +| `allowSameDay` | `bool` | `false` | | |
| 7 | +| `autoComplete` | `string` | | | |
| 8 | +| `autoFocus` | `bool` | | | |
| 9 | +| `calendarClassName` | `string` | | | |
| 10 | +| `calendarContainer` | `func` | | | |
| 11 | +| `children` | `node` | | | |
| 12 | +| `className` | `string` | | | |
| 13 | +| `clearButtonTitle` | `string` | | | |
| 14 | +| `customInput` | `element` | | | |
| 15 | +| `customInputRef` | `string` | | | |
| 16 | +| `dateFormat` | `union(string\|array)` | `"MM/dd/yyyy"` | | |
| 17 | +| `dateFormatCalendar` | `string` | `"LLLL yyyy"` | | |
| 18 | +| `dayClassName` | `func` | | | |
| 19 | +| `disabled` | `bool` | `false` | | |
| 20 | +| `disabledKeyboardNavigation` | `bool` | `false` | | |
| 21 | +| `dropdownMode` | `enum("scroll"\|"select")` | `"scroll"` | | |
| 22 | +| `endDate` | `instanceOfDate` | | | |
| 23 | +| `excludeDates` | `array` | | | |
| 24 | +| `excludeTimes` | `array` | | | |
| 25 | +| `filterDate` | `func` | | | |
| 26 | +| `fixedHeight` | `bool` | | | |
| 27 | +| `forceShowMonthNavigation` | `bool` | | | |
| 28 | +| `formatWeekDay` | `func` | | | |
| 29 | +| `formatWeekNumber` | `func` | | | |
| 30 | +| `highlightDates` | `array` | | | |
| 31 | +| `id` | `string` | | | |
| 32 | +| `includeDates` | `array` | | | |
| 33 | +| `includeTimes` | `array` | | | |
| 34 | +| `injectTimes` | `array` | | | |
| 35 | +| `inline` | `bool` | | | |
| 36 | +| `inlineFocusSelectedMonth` | `bool` | `false` | | |
| 37 | +| `isClearable` | `bool` | | | |
| 38 | +| `locale` | `union(string\|shape)` | | | |
| 39 | +| `maxDate` | `instanceOfDate` | | | |
| 40 | +| `maxTime` | `instanceOfDate` | | | |
| 41 | +| `minDate` | `instanceOfDate` | | | |
| 42 | +| `minTime` | `instanceOfDate` | | | |
| 43 | +| `monthsShown` | `number` | `1` | | |
| 44 | +| `name` | `string` | | | |
| 45 | +| `nextMonthButtonLabel` | `string` | `"Next month"` | | |
| 46 | +| `onBlur` | `func` | `function() {}` | | |
| 47 | +| `onChange` | `func` | `function() {}` | | |
| 48 | +| `onChangeRaw` | `func` | | | |
| 49 | +| `onClickOutside` | `func` | `function() {}` | | |
| 50 | +| `onDayMouseEnter` | `func` | | | |
| 51 | +| `onFocus` | `func` | `function() {}` | | |
| 52 | +| `onInputClick` | `func` | `function() {}` | | |
| 53 | +| `onInputError` | `func` | `function() {}` | | |
| 54 | +| `onKeyDown` | `func` | `function() {}` | | |
| 55 | +| `onMonthChange` | `func` | `function() {}` | | |
| 56 | +| `onMonthMouseLeave` | `func` | | | |
| 57 | +| `onSelect` | `func` | `function() {}` | | |
| 58 | +| `onWeekSelect` | `func` | | | |
| 59 | +| `onYearChange` | `func` | `function() {}` | | |
| 60 | +| `open` | `bool` | | | |
| 61 | +| `openToDate` | `instanceOfDate` | | | |
| 62 | +| `peekNextMonth` | `bool` | | | |
| 63 | +| `placeholderText` | `string` | | | |
| 64 | +| `popperClassName` | `string` | | | |
| 65 | +| `popperContainer` | `func` | | | |
| 66 | +| `popperModifiers` | `object` | | | |
| 67 | +| `popperPlacement` | `enumpopperPlacementPositions` | | | |
| 68 | +| `popperProps` | `object` | | | |
| 69 | +| `preventOpenOnFocus` | `bool` | `false` | | |
| 70 | +| `previousMonthButtonLabel` | `string` | `"Previous Month"` | | |
| 71 | +| `readOnly` | `bool` | `false` | | |
| 72 | +| `renderCustomHeader` | `func` | | | |
| 73 | +| `renderDayContents` | `func` | `function() {}` | | |
| 74 | +| `required` | `bool` | | | |
| 75 | +| `scrollableMonthYearDropdown` | `bool` | | | |
| 76 | +| `scrollableYearDropdown` | `bool` | | | |
| 77 | +| `selected` | `instanceOfDate` | | | |
| 78 | +| `selectsEnd` | `bool` | | | |
| 79 | +| `selectsStart` | `bool` | | | |
| 80 | +| `shouldCloseOnSelect` | `bool` | `true` | | |
| 81 | +| `showDisabledMonthNavigation` | `bool` | | | |
| 82 | +| `showMonthDropdown` | `bool` | | | |
| 83 | +| `showMonthYearDropdown` | `bool` | | | |
| 84 | +| `showMonthYearPicker` | `bool` | `false` | | |
| 85 | +| `showTimeInput` | `bool` | `false` | | |
| 86 | +| `showTimeSelect` | `bool` | `false` | | |
| 87 | +| `showTimeSelectOnly` | `bool` | | | |
| 88 | +| `showWeekNumbers` | `bool` | | | |
| 89 | +| `showYearDropdown` | `bool` | | | |
| 90 | +| `startDate` | `instanceOfDate` | | | |
| 91 | +| `startOpen` | `bool` | | | |
| 92 | +| `strictParsing` | `bool` | `false` | | |
| 93 | +| `tabIndex` | `number` | | | |
| 94 | +| `timeCaption` | `string` | `"Time"` | | |
| 95 | +| `timeFormat` | `string` | | | |
| 96 | +| `timeInputLabel` | `string` | `"Time"` | | |
| 97 | +| `timeIntervals` | `number` | `30` | | |
| 98 | +| `title` | `string` | | | |
| 99 | +| `todayButton` | `node` | | | |
| 100 | +| `useShortMonthInDropdown` | `bool` | | | |
| 101 | +| `useWeekdaysShort` | `bool` | | | |
| 102 | +| `value` | `string` | | | |
| 103 | +| `weekLabel` | `string` | | | |
| 104 | +| `withPortal` | `bool` | `false` | | |
| 105 | +| `yearDropdownItemNumber` | `number` | | | |
0 commit comments