mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-25 04:31:13 -05:00
feat: Enhance date picker usability
This commit is contained in:
@@ -11,6 +11,9 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }: C
|
||||
return (
|
||||
<DayPicker
|
||||
showOutsideDays={showOutsideDays}
|
||||
captionLayout="dropdown-buttons"
|
||||
fromYear={props.fromYear || 1800}
|
||||
toYear={props.toYear || new Date().getFullYear() + 10}
|
||||
className={cn("p-3", className)}
|
||||
classNames={{
|
||||
months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
|
||||
|
||||
Reference in New Issue
Block a user