element-plus/packages/timeline/index.ts

12 lines
301 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import Timeline from './src/index.vue'
2020-10-29 17:28:26 +08:00
Timeline.install = (app: App): void => {
app.component(Timeline.name, Timeline)
}
2020-10-29 17:28:26 +08:00
const _Timeline: SFCWithInstall<typeof Timeline> = Timeline
export default _Timeline