- GitHub Links
We use Storybook to display what React components are available to use within our project. This also gives you the opportunity to play with the components' functionality and data it displays.
The deployed version is available here https://eddiehubcommunity.github.io/BioDrop/?path=/story/pages-username--basic
To see what components are available locally and contribute, do the following steps...
npm run storybook
- navigate to
note: not all components have been added, this is a great way to contribute to our project
Updating BioDrop's Storybooks' components
- Create a story file in
stories/componentswith the same filename as the component but append
.stories.jsto the filename
- Import the component into the story file, see the existing example
- Set the default arguments by looking at the requirements from the component itself
npm run storybookto see the added components and visit
http://localhost:6006to interact with them in the browser