Home > @uniformdev/design-system > DateTimePicker

DateTimePicker() function

Warning: This API is now obsolete.

This component is in beta, name and props are subject to change without a major version

This is a Calendar, Time input and TimeZone selector housed in a popup. You can use it to pick a date as well as a time, or you can also change it to only pick a date.

Subcomponents can manipulate the value directly by using the useDateTimePickerContext() hook.

Date Time Picker

Signature:

Parameters

ParameterTypeDescription
{ id, label, triggerIcon, value, minVisible, maxVisible, variant, caption, placeholder, belowTimeInputSlot, showLabel, errorMessage, warningMessage, disabled, onChange, testId, placement, offset, ...props }DateTimePickerProps

Returns:

_emotion_react_jsx_runtime.JSX.Element