DatePicker lets users select a date.
View source code(newDate?: Date) => voidHandler that is called when the value changes.
DateThe current value.
stringclassName for the element
"content" | "parent"Whether the DatePicker should fit its parents or content
Default: contentstringid for the DatePicker input. Used it with htmlFor props from FormField
booleanWhether the DatePicker is disabled.
Default: falsebooleanWhether the DatePicker is invalid.
Default: falseReactNodeLeft addon of the DatePicker.
DateThe oldest date allowed by the input
DateThe earliest date allowed by the input
stringTemporary text that occupies the DatePicker when it is empty.
"bottom-end" | "bottom-start" | "end-bottom" | "end-top" | "top-end" | "top-start"Whether the DatePicker should be aligned at the start or end of the trigger
Default: bottom-start"default" | "magicGradient"The visual style of the DatePicker.