horoeka-2022 / gardenz

Empowering community gardens in New Zealand
0 stars 1 forks source link

Storybook: GardenHeader #81

Open clementine-smart opened 1 year ago

clementine-smart commented 1 year ago

Gardenz uses storybook to visually develop and test components in isolation. Take a look at client/subcomponents/events/EventItem/EventItem.stories.jsx component and learn how it's used. Then, in your terminal, run npm run storybook. A new web page is opened automatically, showing you the component rendered.

Your task is to write a similar storybook for client/subcomponents/gardens/GardenHeader/GardenHeader.jsx. Use the other component as an example and start from there.