element-plus/packages/steps/index.ts

12 lines
277 B
TypeScript
Raw Normal View History

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