2.0.9 • Published 1 year ago
@brighthr/component-durationpicker v2.0.9
DurationPicker
To install, type the following into the command line at the root of your project:
npm i @brighthr/component-durationpickerTo implement the DurationPicker component into your project you’ll need to add the import:
import DurationPicker from '@brighthr/component-durationpicker';After adding import into your project you can use it simply like:
<DurationPicker />Props
| Name | Type | Default | Description |
|---|---|---|---|
| disabled | boolean | false | If true, disables the DurationPicker. |
| max | {hours: number, minutes: number } | { hours: 0, minutes: 0 } | Sets a max value. |
| min | {hours: number, minutes: number } | { hours: 8760, minutes: 0 } | Sets a min value. |
| onChange | () => void | Function for handling onChange event. | |
| step | number | 1 | Sets a value for the minute increments. |
| value | {hours: number, minutes: number } | Sets the value of the DurationPicker. |
2.0.5
1 year ago
2.0.4
1 year ago
2.0.7
1 year ago
2.0.6
1 year ago
2.0.9
1 year ago
2.0.8
1 year ago
2.0.3
1 year ago
2.0.2
1 year ago
2.0.1
2 years ago
2.0.0
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago