element-plus/packages/components/transfer/index.ts
zz a894fbf990
refactor(components): [transfer] switch to script-setup syntax (#8343)
* refactor(components): [transfer] switch to script-setup syntax

* chore: improve code

* chore: improve type

* fix: lost reactivity

* chore: fix data error

* chore: simplify code
2022-06-27 22:08:03 +08:00

9 lines
200 B
TypeScript

import { withInstall } from '@element-plus/utils'
import Transfer from './src/transfer.vue'
export const ElTransfer = withInstall(Transfer)
export default ElTransfer
export * from './src/transfer'