Enums

The following enums are available in the DatePicker component:

NameValueDescription
PickerVariant
'Auto' | 'Inline' | 'Popup'

Specifies the variant behavior for picker components, determining how the popup is displayed across devices.

  • Auto - Specifies that the picker automatically chooses the display mode based on device type: desktop uses Inline, mobile uses Popup.
  • Inline - Specifies that the picker is always displayed as an anchored popup, suitable for both desktop and mobile.
  • Popup - Specifies that the picker is always displayed as a centered dialog overlay, suitable for both desktop and mobile.