An TreeTransfer
component based on ant.design 1
Implementation of the TreeTransfer
component with ant.design
1 Tree
and Transfer
components.
The TreeTransfer
component is a combination of the Tree
and Transfer
components, which allows you to transfer nodes between two trees.
The code is based on ant-design/ant-design#46706, and modified to TypeScript and fixed some bugs.
pnpm add @jeremy-hibiki/tree-transfer
or
npm install @jeremy-hibiki/tree-transfer
or
yarn add @jeremy-hibiki/tree-transfer
- Check the example directory for more details.
- Only supports "two-level" trees, meaning the tree can only have two levels of nodes: a parent level and a children level.
- Missing unit tests and e2e tests.