8000 docs: update options · coreui/coreui-pro@fd72ee2 · GitHub
[go: up one dir, main page]

Skip to content

Commit fd72ee2

Browse files
committed
docs: update options
1 parent e7f9a42 commit fd72ee2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/content/forms/date-picker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,10 @@ const datePickerList = datePickerElementList.map(datePickerEl => {
362362
| `ariaNavPrevMonthLabel` | string | `'Previous month'` | A string that provides an accessible label for the button that navigates to the previous month in the calendar. Screen readers will use this label to explain the purpose of the button. |
363363
| `ariaNavPrevYearLabel` | string | `'Previous year'` | A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function. |
364364
| `calendarDate` | date, number, string, null | `null` | Default date of the component. |
365-
| `cancelButtonLabel` | string | `'Cancel'` | Cancel button inner HTML |
365+
| `cancelButton` | boolean, string | `'Cancel'` | Cancel button inner HTML |
366366
| `cancelButtonClasses` | array, string | `['btn', 'btn-sm', 'btn-ghost-primary']` | CSS class names that will be added to the cancel button |
367367
| `cleaner` | boolean | `true` | Enables selection cleaner element. |
368-
| `confirmButtonLabel` | string | `'OK'` | Confirm button inner HTML |
368+
| `confirmButton` | boolean, string | `'OK'` | Confirm button inner HTML |
369369
| `confirmButtonClasses` | array, string | `['btn', 'btn-sm', 'btn-primary']` | CSS class names that will be added to the confirm button |
370370
| `container` | string, element, false | `false` | Appends the dropdown to a specific element. Example: `container: 'body'`. |
371371
| `date` | date, number, string, null | `null` | Default value of the component |

docs/content/forms/date-range-picker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,10 +407,10 @@ const dateRangePickerList = dateRangePickerElementList.map(dateRangePickerEl =>
407407
| `ariaNavPrevYearLabel` | string | `'Previous year'` | A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function. |
408408
| `calendarDate` | date, number, string, null | `null` | Default date of the component. |
409409
| `calendars` | number | `2` | The number of calendars that render on desktop devices. |
410-
| `cancelButton` | string | `'Cancel'` | Cancel button inner HTML |
410+
| `cancelButton` | boolean, string | `'Cancel'` | Cancel button inner HTML |
411411
| `cancelButtonClasses` | array, string | `['btn', 'btn-sm', 'btn-ghost-primary']` | CSS class names that will be added to the cancel button |
412412
| `cleaner` | boolean | `true` | Enables selection cleaner element. |
413-
| `confirmButton` | string | `'OK'` | Confirm button inner HTML |
413+
| `confirmButton` | boolean, string | `'OK'` | Confirm button inner HTML |
414414
| `confirmButtonClasses` | array, string | `['btn', 'btn-sm', 'btn-primary']` | CSS class names that will be added to the confirm button |
415415
| `container` | string, element, false | `false` | Appends the dropdown to a specific element. Example: `container: 'body'`. |
416416
| `disabled` | boolean | `false` | Toggle the disabled state for the component. |

docs/content/forms/time-picker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ const timePickerList = timePickerElementList.map(timePickerEl => {
213213
{{< bs-table >}}
214214
| Name | Type | Default | Description |
215215
| --- | --- | --- | --- |
216-
| `cancelButtonLabel` | string | `'Cancel'` | Cancel button inner HTML |
216+
| `cancelButton` | boolean, string | `'Cancel'` | Cancel button inner HTML |
217217
| `cancelButtonClasses` | array, string | `['btn', 'btn-sm', 'btn-ghost-primary']` | CSS class names that will be added to the cancel button |
218218
| `cleaner` | boolean | `true` | Enables selection cleaner element. |
219-
| `confirmButtonLabel` | string | `'OK'` | Confirm button inner HTML |
219+
| `confirmButton` | boolean, string | `'OK'` | Confirm button inner HTML |
220220
| `confirmButtonClasses` | array, string | `['btn', 'btn-sm', 'btn-primary']` | CSS class names that will be added to the confirm button |
221221
| `container` | string, element, false | `false` | Appends the dropdown to a specific element. Example: `container: 'body'`. |
222222
| `disabled` | boolean | `false` | Toggle the disabled state for the component. |

0 commit comments

Comments
 (0)
0