element-plus/packages/components/timeline/index.ts
2022-02-09 16:59:08 +08:00

13 lines
383 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils-v2'
import Timeline from './src/timeline'
import TimelineItem from './src/timeline-item.vue'
export const ElTimeline = withInstall(Timeline, {
TimelineItem,
})
export default ElTimeline
export const ElTimelineItem = withNoopInstall(TimelineItem)
export * from './src/timeline'
export * from './src/timeline-item'