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 can add two new props, because this component is used in others locals, so we need to create a new component for icons, we don’t change the ArrowLink because this component is used in other localswill 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.

We need to restructure the component ArrowLink for case is true show new icon and case false not changed the layout.

Attention, because the font label, color of label and icons changed and now the colors changed according to brand. (look figma) - The colors used have in file primitives.ts, for intl-whitelabel and ctg-components-library.

...