element-plus/packages/components/skeleton/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

13 lines
347 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
import Skeleton from './src/index.vue'
import SkeletonItem from './src/item.vue'
export const ElSkeleton = withInstall(Skeleton, {
SkeletonItem,
})
export default ElSkeleton
export const ElSkeletonItem = withNoopInstall(SkeletonItem)
export * from './src/types'