element-plus/packages/components/carousel/index.ts
卜启缘 176bc652ea
refactor(components): [carousel] refactor (#6681)
* refactor(components): [carousel] refactor

* fix: build error
2022-03-17 12:21:06 +08:00

15 lines
386 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils'
import Carousel from './src/carousel.vue'
import CarouselItem from './src/carousel-item.vue'
export const ElCarousel = withInstall(Carousel, {
CarouselItem,
})
export default ElCarousel
export const ElCarouselItem = withNoopInstall(CarouselItem)
export * from './src/carousel'
export * from './src/carousel-item'