Home > @uniformdev/design-system > DateTimePicker

DateTimePicker() function

Date Time Picker 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.

Signature:

Parameters

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

Returns:

_emotion_react_jsx_runtime.JSX.Element