mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 16:27:46 +00:00
improvement: typed date format
This commit is contained in:
@@ -14,7 +14,7 @@ export type DatePickerProps = Omit<DayPickerProps, "selected"> & {
|
|||||||
onChange: (date?: Date) => void;
|
onChange: (date?: Date) => void;
|
||||||
popUpProps: PopoverProps;
|
popUpProps: PopoverProps;
|
||||||
popUpContentProps: PopoverContentProps;
|
popUpContentProps: PopoverContentProps;
|
||||||
dateFormat?: string;
|
dateFormat?: "PPP" | "PP" | "P"; // extend as needed
|
||||||
};
|
};
|
||||||
|
|
||||||
// Doc: https://react-day-picker.js.org/
|
// Doc: https://react-day-picker.js.org/
|
||||||
|
|||||||
Reference in New Issue
Block a user