element-plus/packages/components/carousel/index.ts
Jeremy 904605587f
refactor(components): [carousel] (#10188)
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-10-24 12:47:42 +00:00

17 lines
442 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'
export type { CarouselInstance } from './src/instance'