ctify

Date pickers

Date pickers let people select a date, or a range of dates

Props

PropsTypeDescriptionDefault
asSinglebooleanrender as single date pickerfalse
useRangebooleanuse range modetrue
placeholderstringplaceholder textnull
separatorstringseparator between range date~
showShortcutsbooleanshow left shortcuts datefalse
showFooterbooleanshow footer actionsfalse
displayFormatstringdisplay format of dateDD/MM/YYYY
readOnlybooleanreadonly modefalse
disabledbooleandisabled modefalse
inputClassNamestringinput class namenull
startFromDatestart date for range modenew Date()
minDateDatemin datenull
maxDateDatemax datenull
Edit this page on GitHub