mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +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
|