Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.33 KB

README.md

File metadata and controls

18 lines (13 loc) · 1.33 KB

react-datetime-picker

Datetime Picker for React App

Demo

demo

Docs

Props

Name Type Default Description
size “sm” │ “lg” “sm” Size of DateTimePicker component
dateValue string undefined Defines the initial selected date in the format: “DD/MM/YYYY”
timeValue string undefined Defines the initial selected time in the format: “HH:MM DayPeriod”
onSelectDate (value: string) => void undefined Executes a given JavaScript code when the selected date (passed into the parameter value) changes.
onSelectTime (value: string) => void undefined Executes a given JavaScript code when the selected time (passed into the parameter value) changes.