TimePicker

v2.0.2
duplicate

It is based on the react-datepicker library. Note: Pass a value of null if you don't want the default value of Date.now().

Install and import

Simple use case

Add an icon on the right

Pass props to TimePicker

Properties

NameType(s)DefaultRequired
autoFocus
bool
dateFormat
string
HH:mm
disabled
bool
icon
union
iconPlacement
right
left
left
inputRef
func
onBlur
func
onChange
func
onFocus
func
placeholder
string
popperProps
object
size
sm
md
lg
lg
timeIntervals
number
15
value
number | object | string
DEFAULT_DATE

Dependencies

Peer dependencies