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.
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, runnpm 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.