mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
12 lines
342 B
TypeScript
12 lines
342 B
TypeScript
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
|