element-plus/packages/timeline-item/index.ts

12 lines
342 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import TimelineItem from '../timeline/src/item.vue'
TimelineItem.install = (app: App): void => {
app.component(TimelineItem.name, TimelineItem)
}
const _TimelineItem: SFCWithInstall<typeof TimelineItem> = TimelineItem
export default _TimelineItem