element-plus/packages/components/descriptions/index.ts
jeremywu 3138dea797
fix(components): sub components no install issue (#3615)
- Add noop install for all sub components for supress the warning
2021-09-24 19:11:56 +08:00

12 lines
359 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
import Descriptions from './src/index.vue'
import DescriptionsItem from './src/description-item'
export const ElDescriptions = withInstall(Descriptions, {
DescriptionsItem,
})
export default ElDescriptions
export const ElDescriptionsItem = withNoopInstall(DescriptionsItem)