Components
Date picker
A form element used to select a single or a range of dates.
Basic usage
First, import the component.
import {DatePicker} from '@pleo-io/telescope'
Then use it, like so:
API reference
The component accepts the following props.
Prop | Type | Default |
---|---|---|
allowPartialRange | boolean | false |
locale | string | |
maxDate | Date | |
minDate | Date | |
minDetail | enum | 'century' |
onChange | enum | |
selectRange | boolean | false |
showDoubleView | boolean | false |
showWeekNumbers | boolean | false |
tileDisabled | function | |
value | enum |
Information:
For further extension of the DatePicker you can use all of react-calendar's props.
On this page