element-plus/packages/divider/index.ts

12 lines
293 B
TypeScript
Raw Normal View History

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