element-plus/packages/descriptions/index.ts
kooriookami f48c497703
Feat/descriptions (#1856)
* feat(descriptions): new component Descriptions

* feat: update

* feat: update

* feat: update

* feat: update

* fix: revert readme.md

* feat: update

* feat: update provide key
2021-04-19 18:05:48 +08:00

12 lines
333 B
TypeScript

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