Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Each item of menu are compost by component ArrowLink src/components/arrow-link/arrow-link.tsx.

On the component ArrowLink we have two components, one case is external link and one case not external link, we will use the not external link StyledLink, and we can add two new props, because this component is used in others locals, so we will to add “customIcon" and “nameIcon" props and these props are optional. And in the component for account/index we add these props, "customIcon“ with the value of flag created in the task 1 and name icon with name of icon in component-library. Case true the prop is true and show the new icon.

...