Skip to content

Commit

Permalink
Adding minimal required readme instructions (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRayCode authored Dec 3, 2024
1 parent 3fb3861 commit 86e9036
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 86e9036

Please sign in to comment.