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

12 lines
308 B
TypeScript
Raw Normal View History

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