pohutukawa-2022 / gardenz

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

Storybook: Write a storybook for AdminEventItem component #31

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/AdminEvents/EventItem/AdminEventItem.jsx. Use the other component as an example and start from there.

Come and talk to me (Ahmad) if you have any questions.