element-plus/packages/empty/index.ts
kooriookami 5c01631136
Feat/empty (#1210)
* feat(empty): add empty

* feat(empty): new component empty

re #1100

* feat: update doc

* feat: update scss

* perf: update img

* perf: update docs

* fix: update
2021-01-07 13:52:31 +08:00

12 lines
277 B
TypeScript

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