diff --git a/README.md b/README.md index 7652f07..56ff96b 100644 --- a/README.md +++ b/README.md @@ -109,3 +109,5 @@ Here are the props you can pass to `TreeView`. | expandButtonColor | `string`| optional | `'#4B6DAA'` | The color of the expand button | | nodeSize| `number`| optional | 20 | The size of the tree leaf icons | | nodeIcon| `string`| optional | [blue dot] | The node icon. Must be a base64 imported image | +| collapsedIcon| `string`| optional | [+ sign] | The collapsed icon. Must be a base64 imported image. Require to set also the `expandedIcon`. | +| expandedIcon| `string`| optional | [- sign] | The expanded icon. Must be a base64 imported image. Require to set also the `collapsedIcon`. | diff --git a/public/index.html b/public/index.html index ed0ebaf..432a0f5 100644 --- a/public/index.html +++ b/public/index.html @@ -19,7 +19,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - React App + React Expandable TreeView