Skip to content
Components

Date picker

A form element used to select a single or a range of dates.

First, import the component.

import {DatePicker} from '@pleo-io/telescope'

Then use it, like so:

The component accepts the following props.

PropTypeDefault
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.