element-plus/packages/components/image-viewer/index.ts
三咲智子 12bf28e8c8
refactor(components): refactor image-viewer (#3810)
* refactor(components): refactor image-viewer

* fix: remove unused

* refactor: improve type
2021-10-18 16:24:52 +08:00

9 lines
233 B
TypeScript

import { withInstall } from '@element-plus/utils/with-install'
import ImageViewer from './src/image-viewer.vue'
export const ElImageViewer = withInstall(ImageViewer)
export default ElImageViewer
export * from './src/image-viewer'