@miyen/react-nested-list
v1.0.2
Published
Nested list component
Downloads
5
Readme
nested-list-component
Installation
In your react project, run the command npm -i nested-list-component [note this is TBD]
Importing into your project
Once you have installed the package, write the line 'import Nested from 'nested-list-component'' at the top of your .js file. Now you can use the nested component as if it's any other component.
Actually using it
Pass in a nested array into the data prop that contains the list items and their children. Below is a demonstration of one such array and the output it produces.
Contact me
Send me an email with any questions/suggestions at [email protected].
Acknowledgements
Thanks to Brandon Ngyuen and Zalan Shah for guiding me through EECS 201 and this project.
