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

12 lines
318 B
TypeScript
Raw Normal View History

import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
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)