mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 20:58:22 +08:00
14 lines
308 B
TypeScript
14 lines
308 B
TypeScript
import Space from './src/index'
|
|
|
|
import type { App } from 'vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
const _Space = Space as SFCWithInstall<typeof Space>
|
|
|
|
_Space.install = (app: App) => {
|
|
app.component(_Space.name, _Space)
|
|
}
|
|
|
|
export default _Space
|
|
export const ElSpace = _Space
|