sham-ui-datetimepicker
DateTimePicker for sham-ui
Install
# npm
npm install sham-ui-datetimepicker
# yarn
yarn add sham-ui-datetimepicker
API
Table of Contents
DateTimePickerOptions
Options for DateTimePicker
Type: Object
Properties
-
value
Date Selected date. By default current date -
onChange
Function Callback for onChange. By default () => {} -
showTime
boolean Show time selector. By default true -
displayMode
string Mode for display. By default 'dom' (day of month) -
isDateSelectable
Function Callback for test date for selectable. By default () => true -
classForDate
Function Callback for add custom class for date. By default () => ''
DateTimePicker
DateTime picker for sham-ui
Properties
-
options
DateTimePickerOptions
Examples
{% import DateTimePicker from 'sham-ui-datetimepicker' %}
...
<DateTimePicker/>
...