mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 20:27:44 +08:00
14 lines
335 B
TypeScript
14 lines
335 B
TypeScript
import Divider from './src/index.vue'
|
|
|
|
import type { App } from 'vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
Divider.install = (app: App): void => {
|
|
app.component(Divider.name, Divider)
|
|
}
|
|
|
|
const _Divider = Divider as SFCWithInstall<typeof Divider>
|
|
|
|
export default _Divider
|
|
export const ElDivider = _Divider
|