Skip to content

Commit

Permalink
Adding minimal required readme instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRayCode committed Nov 30, 2024
1 parent 3cee71c commit d32ac55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ const data = [
Use all the defaults. The _initialData_ prop makes the tree an uncontrolled component. Create, move, rename, and delete will be handled internally.

```jsx
import { Tree } from 'react-arborist';

function App() {
return <Tree initialData={data} />;
}
Expand Down

0 comments on commit d32ac55

Please sign in to comment.