diff --git a/src/components/footer/footer-top/Rede-social/Icon/Icon.tsx b/src/components/footer/footer-top/Rede-social/Icon/Icon.tsx index 47af8d8..8e31d1c 100644 --- a/src/components/footer/footer-top/Rede-social/Icon/Icon.tsx +++ b/src/components/footer/footer-top/Rede-social/Icon/Icon.tsx @@ -6,15 +6,17 @@ interface IconProps { img: string; text: string; href: string; + testId?: string; } -const Icon = (props: IconProps) => { - const { img, text, href } = props; - return ( +const Icon = ({ img, text, href, testId }: IconProps) => ( - + - ); -}; +) export { Icon }; diff --git a/src/components/footer/footer-top/Rede-social/RedeSociais.tsx b/src/components/footer/footer-top/Rede-social/RedeSociais.tsx index 1d54f5c..9003955 100644 --- a/src/components/footer/footer-top/Rede-social/RedeSociais.tsx +++ b/src/components/footer/footer-top/Rede-social/RedeSociais.tsx @@ -12,31 +12,45 @@ import styles from "../../footer.module.scss"; const RedeSociais = () => { return ( -