element-plus/packages/components/skeleton/index.ts
blackie 468d4ba162
refactor(components): [skeleton] switch to script-setup syntax (#6395)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-13 20:53:05 +08:00

14 lines
385 B
TypeScript

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