ethereum-org-website icon indicating copy to clipboard operation
ethereum-org-website copied to clipboard

RoadmapActionCard

Open corwintines opened this issue 8 months ago • 2 comments

Create story tests for RoadmapActionCard component

Prerequisite

To get yourself up to speed on how we use storybook on ethereum.org, learn more here

What to do

  • [x] Move /src/components/Roadmap/RoadmapActionCard.tsx to /src/components/Roadmap/RoadmapActionCard/index.tsx
  • [x] Fix any imports for RoadmapActionCard component
  • [x] Create story file /src/components/Roadmap/RoadmapActionCard/RoadmapActionCard.stories.tsx
  • [x] Write story testing render of the RoadmapActionCard component in context of use.

Note: For reference of this component in use, look at /public/content/roadmap/index.md. You can see the context used is in a CardGrid component. Please reference implementation for your storybook test.

corwintines avatar Jun 20 '24 03:06 corwintines