Skip to content

Commit ed1aa27

Browse files
committed
feat: support up to six visible months
1 parent 81d471f commit ed1aa27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/experimental/Calendar/Calendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export type Range = RdpRange;
1818
type DateFnsFormatOptions = Parameters<typeof format>[2];
1919

2020
type BaseProps = Omit<React.ComponentProps<typeof DayPicker>, 'mode' | 'selected' | 'onSelect'> & {
21-
visibleMonths?: 1 | 2 | 3;
21+
visibleMonths?: 1 | 2 | 3 | 4 | 5 | 6;
2222
captionLayout?: React.ComponentProps<typeof DayPicker>['captionLayout'];
2323
weekStartsOn?: React.ComponentProps<typeof DayPicker>['weekStartsOn'];
2424
selected?: Date | Date[] | RdpRange;

0 commit comments

Comments
 (0)