index.ts 496 B

1234567891011121314151617
  1. import { withInstall, withNoopInstall } from '@element-plus/utils'
  2. import Carousel from './src/carousel.vue'
  3. import CarouselItem from './src/carousel-item.vue'
  4. export const ElCarousel = withInstall(Carousel, {
  5. CarouselItem,
  6. })
  7. export default ElCarousel
  8. export const ElCarouselItem = withNoopInstall(CarouselItem)
  9. export * from './src/carousel'
  10. export * from './src/carousel-item'
  11. export * from './src/constants'
  12. export type { CarouselInstance, CarouselItemInstance } from './src/instance'