element-plus/packages/carousel-item/index.ts

12 lines
342 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import CarouselItem from '../carousel/src/item.vue'
CarouselItem.install = (app: App): void => {
app.component(CarouselItem.name, CarouselItem)
}
const _CarouselItem: SFCWithInstall<typeof CarouselItem> = CarouselItem
export default _CarouselItem