element-plus/packages/descriptions/index.ts

12 lines
333 B
TypeScript
Raw Normal View History

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