Skip to content

Commit a1d4b27

Browse files
committed
docs(TimePicker): update options documentation
1 parent 0be09d5 commit a1d4b27

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docs/content/forms/time-picker.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,22 +166,26 @@ const timePickerList = timePickerElementList.map(timePickerEl => {
166166
| Name | Type | Default | Description |
167167
| --- | --- | --- | --- |
168168
| `cancelButtonLabel` | string | `'Cancel'` | Cancel button inner HTML |
169-
| `cancelButtonClasses` | array \| string | `['btn', 'btn-sm', 'btn-ghost-primary']` | CSS class names that will be added to the cancel button |
169+
| `cancelButtonClasses` | array, string | `['btn', 'btn-sm', 'btn-ghost-primary']` | CSS class names that will be added to the cancel button |
170170
| `cleaner` | boolean | `true` | Enables selection cleaner element. |
171171
| `confirmButtonLabel` | string | `'OK'` | Confirm button inner HTML |
172-
| `confirmButtonClasses` | array \| string | `['btn', 'btn-sm', 'btn-primary']` | CSS class names that will be added to the confirm button |
172+
| `confirmButtonClasses` | array, string | `['btn', 'btn-sm', 'btn-primary']` | CSS class names that will be added to the confirm button |
173173
| `container` | string | `'dropdown'` | <p>Set container type for the component.</p><ul><li>`'dropdown'`</li><li>`'inline'`</li></ul>|
174174
| `disabled` | boolean | `false` | Toggle the disabled state for the component. |
175+
| `footer` | boolean | `true` | Toggle visibility of footer element. |
176+
| `hours` | array, function, null | `null` | Specify a list of available hours using an array, or customize the filtering of hours through a function. |
175177
| `indicator` | boolean | `true` | Toggle visibility or set the content of the input indicator. |
176178
| `inputReadOnly` | boolean | `false` | Toggle the readonly state for the component. |
177179
| `invalid` | boolean | `false` | Toggle the invalid state for the component. |
178180
| `locale` | string | `'default'` | Sets the default locale for components. If not set, it is inherited from the navigator.language. |
181+
| `minutes` | array, boolean, function | `true` | Toggle the display of minutes, specify a list of available minutes using an array, or customize the filtering of minutes through a function. |
179182
| `name` | string | `null` | Set the name attribute for the input element. |
180183
| `placeholder` | string | `'Select time'` | Specifies a short hint that is visible in the input. |
181-
| `size` | `'sm'` \| `'lg'` | `null` | Size the component small or large. |
182-
| `time` | date \| string \| null | `null` | Default value of the component |
184+
| `seconds` | array, boolean, function | `true` | Toggle the display of seconds, specify a list of available seconds using an array, or customize the filtering of seconds through a function. |
185+
| `size` | `'sm'`, `'lg'` | `null` | Size the component small or large. |
186+
| `time` | date, string, null | `null` | Default value of the component |
183187
| `valid` | boolean | `false` | Toggle the valid state for the component. |
184-
| `variant` | `'inline'` \| `'roll'` | `'roll'` | Set the time picker variant to a roll or select. |
188+
| `variant` | `'inline'`, `'roll'` | `'roll'` | Set the time picker variant to a roll or select. |
185189
{{< /bs-table >}}
186190
### Methods
187191

0 commit comments

Comments
 (0)