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

16 lines
377 B
TypeScript
Raw Normal View History

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