diff --git a/packages/nc-gui/components/nc/DateWeekSelector.vue b/packages/nc-gui/components/nc/DateWeekSelector.vue index fbc3cd604e..a1ea8b0a92 100644 --- a/packages/nc-gui/components/nc/DateWeekSelector.vue +++ b/packages/nc-gui/components/nc/DateWeekSelector.vue @@ -2,6 +2,7 @@ import dayjs from 'dayjs' interface Props { + size?: 'small' | 'medium' selectedDate?: dayjs.Dayjs | null isDisabled?: boolean pageDate?: dayjs.Dayjs @@ -16,6 +17,7 @@ interface Props { } const props = withDefaults(defineProps(), { + size: 'medium', selectedDate: null, isDisabled: false, isMondayFirst: true, @@ -135,7 +137,7 @@ const paginate = (action: 'next' | 'prev') => {