pohutukawa-2022 / gardenz

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

Storybook: GardenHeader #42

Open ahnwarez opened 2 years ago

ahnwarez commented 2 years 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.