Skip to content

Commit 6db5420

Browse files
committed
feat: 优化范围选择功能
1 parent f712cf1 commit 6db5420

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/calendar/CalendarDate.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import {
1818
MarkDateType,
1919
MarkType,
2020
ScrollDirectionType,
21+
SelectType,
2122
WeekStartType,
2223
} from './types';
2324
import {
@@ -38,6 +39,8 @@ export const calendarDateProps = {
3839
showWeekView: Boolean,
3940
show: Boolean,
4041
disabledWeekView: Boolean,
42+
selectType: makeStringProp<SelectType>('single'),
43+
allowSameDay: Boolean,
4144
defaultDate: [Date, Array] as PropType<Date | Date[] | null>,
4245
minDate: makeDateProp(null),
4346
maxDate: makeDateProp(null),

0 commit comments

Comments
 (0)