element-plus/packages/components/transfer/index.ts

16 lines
377 B
TypeScript

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