change documentation
parent
49acc411d4
commit
653150c396
|
@ -17,11 +17,5 @@ const DatePickerTest = () => (
|
|||
| Name | Type | Default | Description|
|
||||
|:-----|:-----|:-----|:-----|
|
||||
| `className` | `String` | `''` | Sets a class to give customized styles to the time picker.|
|
||||
| `onChange` | `Function` | | Callback called when the picker value is changed.|
|
||||
| `value` | `Date` | | Date object with the currently selected date. |
|
||||
|
||||
## Methods
|
||||
|
||||
The DatePicker is a very easy component from the top level API but quite complex inside. It has state to keep the currently viewed date and the currently selected value.
|
||||
|
||||
- `getValue` is used to retrieve the current value.
|
||||
- `setValue` to force a new value.
|
||||
|
|
|
@ -21,11 +21,5 @@ const TimePickerTest = () => (
|
|||
|:-----|:-----|:-----|:-----|
|
||||
| `className` | `String` | `''` | Sets a class to give customized styles.|
|
||||
| `format` | `String` | `24hr` | Format to display the clock. It can be `24hr` or `ampm`.|
|
||||
| `onChange` | `Function` | | Callback called when the picker value is changed.|
|
||||
| `value` | `Date` | | Datetime object with currrently selected time |
|
||||
|
||||
## Methods
|
||||
|
||||
The TimePicker is a very easy component from the top level API but quite complex inside. It has state to keep the the currently selected value.
|
||||
|
||||
- `getValue` is used to retrieve the current value.
|
||||
- `setValue` to force a new value.
|
||||
|
|
Loading…
Reference in New Issue