chore: prefer named exports (#8315)

* chore: prefer named exports

* chore: fix import
This commit is contained in:
neverland
2021-03-09 15:39:26 +08:00
committed by GitHub
parent 5d5ff1da4a
commit 1381070a12
171 changed files with 272 additions and 263 deletions
+3 -3
View File
@@ -31,9 +31,9 @@ import { useRefs } from '../composables/use-refs';
import { useExpose } from '../composables/use-expose';
// Components
import Popup, { PopupPosition } from '../popup';
import Button from '../button';
import Toast from '../toast';
import { Popup, PopupPosition } from '../popup';
import { Button } from '../button';
import { Toast } from '../toast';
import CalendarMonth, { CalendarType } from './CalendarMonth';
import CalendarHeader from './CalendarHeader';
+1 -1
View File
@@ -1,4 +1,4 @@
import Calendar from '..';
import { Calendar } from '..';
import { mount, later } from '../../../test';
import { getNextDay } from '../utils';
import {
+1 -1
View File
@@ -1,4 +1,4 @@
import Calendar from '..';
import { Calendar } from '..';
import { mount } from '../../../test';
import { getNextDay, getPrevDay } from '../utils';
import { minDate, maxDate } from './utils';
+1 -1
View File
@@ -1,4 +1,4 @@
import Calendar from '..';
import { Calendar } from '..';
import { mount, later } from '../../../test';
import { minDate, maxDate, formatRange, formatDate } from './utils';