DateTimePicker

This component is used to select a datetime.

Installation

import { DateTimePicker } from 'uxp/components';

Signature

const DateTimePicker: React.FunctionComponent<IDateTimePickerProps>

Examples

<DateTimePicker
     datetime={date}
     onChange={(date) => { setDate(date); }}
 />

Properties

Name
Type
Mandatory
Default Value
Example Value

title

string

Yes

-

-

datetime

string | Date

Yes

-

-

onChange

(date: Date) => void

Yes

-

-

disableInput

boolean

No

-

-

hideLabels

boolean

No

-

-

hideDateInput

boolean

No

-

-

showFullMonthName

boolean

No

-

-

spacingMode

No

-

-

Last updated