element-plus/packages/carousel/index.ts

12 lines
300 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import Carousel from './src/main.vue'
2020-10-29 17:28:26 +08:00
Carousel.install = (app: App): void => {
app.component(Carousel.name, Carousel)
}
2020-10-29 17:28:26 +08:00
const _Carousel: SFCWithInstall<typeof Carousel> = Carousel
export default _Carousel