element-plus/packages/components/timeline/index.ts
三咲智子 1f4386b3e0
refactor(components): refactor timeline (#5458)
Co-authored-by: Alanscut <wp_scut@163.com>
2022-01-18 16:22:02 +08:00

13 lines
393 B
TypeScript

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