DateField
View Source
Copy
Edit
Props
formatValue
string
Format the displayed date using date-fns format function.
defaultOpen
boolean
Controls the initial Popover state: open or closed (default).
minDate
Date
The minimum date that can be chosen.
maxDate
Date
The maximum date that can be chosen.
onChange
(date: Date) => null
Called when a date has been selected.
placement
string
Determines where the popover is placed.
value
Date
The date that will be selected.
popoverProps
object
Accepts any valid Popover props.