Skip to content

Commit 6ea341c

Browse files
committed
Fix type context
1 parent ec9c07d commit 6ea341c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/contexts/DatepickerContext.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import {
1010
DateRangeType,
1111
ClassNamesTypeProp,
1212
PopoverDirectionType,
13-
ColorKeys
13+
ColorKeys,
14+
WeekStringType
1415
} from "../types";
1516

1617
interface DatepickerStore {
@@ -40,7 +41,7 @@ interface DatepickerStore {
4041
toggleClassName?: ((className: string) => string) | string | null;
4142
toggleIcon?: (open: boolean) => React.ReactNode;
4243
readOnly?: boolean;
43-
startWeekOn?: string | null;
44+
startWeekOn?: WeekStringType | null;
4445
displayFormat: string;
4546
minDate?: DateType | null;
4647
maxDate?: DateType | null;

0 commit comments

Comments
 (0)