element-plus
Version:
A Component Library for Vue3.0
12 lines (8 loc) • 342 B
text/typescript
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