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

15 lines
386 B
TypeScript
Raw Normal View History

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'