@newtonschool/react-apple-tree
v1.1.0
Published
React Apple Tree is an updated version of the popular library react-sortable-tree.
Downloads
59
Readme
React Apple Tree
React Apple Tree is an updated version of the popular library react-sortable-tree
.
Installation
To install React Apple Tree, you can use npm or yarn:
npm i @newtonschool/react-apple-tree
# or
yarn add @newtonschool/react-apple-tree
Local Testing
To test React Apple Tree locally, follow these steps:
Clone the repository by running the following command in your terminal:
git clone https://github.com/Newton-School/react-apple-tree.git
Navigate to the project directory:
cd react-apple-tree
Install the project dependencies using npm:
npm install
Start the development server to watch for changes:
npm run watch
Use the default component or exported utility functions anywhere you want.
<ReactAppleTree treeData={[]} getNodeKey={() => {}} onChange={() => {}} />