@srimandir/pitru-paksh-common 2.38.0 → 2.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19,5 +19,11 @@ export interface DatePickerSheetProps {
|
|
|
19
19
|
initialDate?: PickedDate;
|
|
20
20
|
minYear?: number;
|
|
21
21
|
maxYear?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Caps the wheels at an exact day, not just a year — the month/day columns
|
|
24
|
+
* shrink once the year wheel reaches `maxDate.year`, so nothing past this
|
|
25
|
+
* date is ever selectable. Takes precedence over `maxYear` when set.
|
|
26
|
+
*/
|
|
27
|
+
maxDate?: PickedDate;
|
|
22
28
|
}
|
|
23
|
-
export declare function DatePickerSheet({ isOpen, onClose, avatarUrl, heading, monthLabels, confirmLabel, onConfirm, timezoneLabel, initialDate, minYear, maxYear, }: DatePickerSheetProps): import("react").JSX.Element;
|
|
29
|
+
export declare function DatePickerSheet({ isOpen, onClose, avatarUrl, heading, monthLabels, confirmLabel, onConfirm, timezoneLabel, initialDate, minYear, maxYear, maxDate, }: DatePickerSheetProps): import("react").JSX.Element;
|