Skip to content

Commit 6c749e2

Browse files
committed
refactor: reorder imports in Carousel and Slide components for improved clarity
1 parent 221d1b2 commit 6c749e2

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/components/Carousel/Carousel.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import {
2-
computed,
32
ComputedRef,
4-
Ref,
5-
SetupContext,
3+
computed,
64
defineComponent,
75
h,
86
onBeforeUnmount,
97
onMounted,
108
provide,
119
reactive,
10+
Ref,
1211
ref,
12+
SetupContext,
1313
shallowReactive,
1414
watch,
1515
watchEffect,

src/components/Slide/Slide.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import {
2+
ComputedRef,
23
computed,
34
defineComponent,
5+
DeepReadonly,
46
getCurrentInstance,
57
h,
68
inject,
@@ -9,6 +11,7 @@ import {
911
onUpdated,
1012
provide,
1113
ref,
14+
SetupContext,
1215
useId,
1316
} from 'vue'
1417

@@ -17,8 +20,6 @@ import { disableChildrenTabbing } from '@/utils'
1720

1821
import { SlideProps } from './Slide.types'
1922

20-
import type { ComputedRef, DeepReadonly, SetupContext } from 'vue'
21-
2223
export const Slide = defineComponent({
2324
name: 'CarouselSlide',
2425
props: {

0 commit comments

Comments
 (0)