...
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 a new propsprop, because this component is used in others locals, so we will to add “customIcon " and “nameIcon" props and these props are or (other name)” prop and this prop is optional. And in the component for account/index we add these propsthis prop, "customIcon“ with the value of flag created in the task 1 and name icon with name icon name and this name is of icon in component-library. Case true the prop is true and show the new And into ArrowLink
add flag for task 1 for validate if show or not the icon.
Into ArrowLink
we have two validations, one for has a name icon, and other for flag is true, if two fieds is ok, so show icon.
We need to restructure the component ArrowLink
for case is true show new icon and case false not changed the layout.
...