You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-datetime-picker/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,12 +98,12 @@ Displays an input field complete with custom inputs, native input, a calendar, a
98
98
| amPmAriaLabel |`aria-label` for the AM/PM select input. | n/a |`"Select AM/PM"`|
99
99
| autoFocus | Automatically focuses the input on mount. | n/a |`true`|
100
100
| calendarAriaLabel |`aria-label` for the calendar button. | n/a |`"Toggle calendar"`|
101
-
|calendarClassName| Class name(s) that will be added along with `"react-calendar"` to the main React-Calendar `<div>` element.| n/a |<ul><li>String: `"class1 class2"`</li><li>Array of strings: `["class1", "class2 class3"]`</li></ul>|
101
+
|calendarProps| Props to pass to React-Calendar component. | n/a |See [React-Calendar documentation](https://github.com/wojtekmaj/react-calendar)|
102
102
| calendarIcon | Content of the calendar button. Setting the value explicitly to `null` will hide the icon. | (default icon) | <ul><li>String: `"Calendar"`</li><li>React element: `<CalendarIcon />`</li><li>React function: `CalendarIcon`</li></ul> |
103
103
| className | Class name(s) that will be added along with `"react-datetime-picker"` to the main React-DateTime-Picker `<div>` element. | n/a | <ul><li>String: `"class1 class2"`</li><li>Array of strings: `["class1", "class2 class3"]`</li></ul> |
104
104
| clearAriaLabel |`aria-label` for the clear button. | n/a |`"Clear value"`|
105
105
| clearIcon | Content of the clear button. Setting the value explicitly to `null` will hide the icon. | (default icon) | <ul><li>String: `"Clear"`</li><li>React element: `<ClearIcon />`</li><li>React function: `ClearIcon`</li></ul> |
106
-
|clockClassName| Class name(s) that will be added along with `"react-clock"` to the main React-Calendar `<div>` element.| n/a |<ul><li>String: `"class1 class2"`</li><li>Array of strings: `["class1", "class2 class3"]`</li></ul>|
106
+
|clockProps| Props to pass to React-Clock component. | n/a |See [React-Clock documentation](https://github.com/wojtekmaj/react-clock)|
107
107
| closeWidgets | Whether to close the widgets on value selection. **Note**: It's recommended to use `shouldCloseWidgets` function instead. |`true`|`false`|
108
108
| data-testid |`data-testid` attribute for the main React-DateTime-Picker `<div>` element. | n/a |`"datetime-picker"`|
109
109
| dayAriaLabel |`aria-label` for the day input. | n/a |`"Day"`|
0 commit comments