element-plus/packages/container/index.ts

12 lines
313 B
TypeScript

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import Container from './src/container.vue'
Container.install = (app: App): void => {
app.component(Container.name, Container)
}
const _Container: SFCWithInstall<typeof Container> = Container
export default _Container