element-plus/packages/container/index.ts

12 lines
313 B
TypeScript
Raw Normal View History

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)
}
2020-10-29 17:28:26 +08:00
const _Container: SFCWithInstall<typeof Container> = Container
export default _Container