DateField
View Source
Copy
Edit
Props
formatValue
stringFormat the displayed date using date-fns format function.
defaultOpen
booleanControls the initial Popover state: open or closed (default).
minDate
DateThe minimum date that can be chosen.
maxDate
DateThe maximum date that can be chosen.
onChange
(date: Date) => nullCalled when a date has been selected.
placement
stringDetermines where the popover is placed.
value
DateThe date that will be selected.
popoverProps
objectAccepts any valid Popover props.