element-plus/packages/skeleton-item/index.ts

12 lines
333 B
TypeScript
Raw Normal View History

2020-12-21 20:07:48 +08:00
import { App } from 'vue'
import SkeletonItem from './src/index.vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
2020-12-21 20:07:48 +08:00
SkeletonItem.install = (app: App): void => {
app.component(SkeletonItem.name, SkeletonItem)
}
const _SkeletonItem: SFCWithInstall<typeof SkeletonItem> = SkeletonItem
export default _SkeletonItem