mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-16 02:11:48 +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
|