element-plus/packages/descriptions-item/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
386 B
TypeScript

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