Skip to content

Commit 870b517

Browse files
committed
Bold "Note" keyword
1 parent 2431353 commit 870b517

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Displays an input field complete with custom inputs, native input, a calendar, a
9292
| clearAriaLabel | `aria-label` for the clear button. | n/a | `"Clear value"` |
9393
| 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> |
9494
| 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> |
95-
| closeWidgets | Whether to close the widgets on value selection. Note: It's recommended to use shouldCloseWidgets function instead. | `true` | `false` |
95+
| closeWidgets | Whether to close the widgets on value selection. **Note**: It's recommended to use shouldCloseWidgets function instead. | `true` | `false` |
9696
| data-testid | `data-testid` attribute for the main React-DateTime-Picker `<div>` element. | n/a | `"date-picker"` |
9797
| dayAriaLabel | `aria-label` for the day input. | n/a | `"Day"` |
9898
| dayPlaceholder | `placeholder` for the day input. | `"--"` | `"dd"` |
@@ -122,7 +122,7 @@ Displays an input field complete with custom inputs, native input, a calendar, a
122122
| onClockOpen | Function called when the clock opens. | n/a | `() => alert('Clock opened')` |
123123
| onFocus | Function called when the focuses an input. | n/a | `(event) => alert('Focused input: ', event.target.name)` |
124124
| onInvalidChange | Function called when the user picks an invalid datetime. | n/a | `() => alert('Invalid datetime')` |
125-
| openWidgetsOnFocus | Whether to open the widgets on input focus. Note: It's recommended to use shouldOpenWidgets function instead. | `true` | `false` |
125+
| openWidgetsOnFocus | Whether to open the widgets on input focus. **Note**: It's recommended to use shouldOpenWidgets function instead. | `true` | `false` |
126126
| portalContainer | Element to render the widgets in using portal. | n/a | `document.getElementById('my-div')` |
127127
| returnValue | Which dates shall be passed by the calendar to the onChange function and onClick{Period} functions. Can be `"start"`, `"end"` or `"range"`. The latter will cause an array with start and end values to be passed. | ` "start"` | `"range"` |
128128
| required | Whether datetime input should be required. | `false` | `true` |

0 commit comments

Comments
 (0)