Attributes
Selection mode.
"single" selects one date, "range" selects a start and end date.The initial value. For
"single" mode, pass an ISO date string or date object.
For "range" mode, pass a tuple of two values (start, end).Display format string using date-fns format tokens (e.g.
"yyyy/MM/dd").Since version 2.9.6.
Usage
Single date
Date range