TimePicker

This component is used to select a time.

Installation

import { TimePicker } from 'uxp/components';

Signature

const TimePicker: React.FunctionComponent<ITimePickerProps>

Examples

<TimePicker
     title="Time"
     time={date}
     onChange={(date) => setDate(date)}
 />

Properties

Name
Type
Mandatory
Default Value
Example Value

title

string

Yes

-

-

time

string | Date

Yes

-

-

onChange

(date: Date) => void

Yes

-

-

disableInput

boolean

No

-

-

hideLabels

boolean

No

-

-

spacingMode

No

-

-

Last updated