From 84d5b7a3d3ad238f40b6b6fd6545d8308829e048 Mon Sep 17 00:00:00 2001 From: marlon passos Date: Wed, 29 Mar 2023 13:53:39 -0300 Subject: [PATCH] feat: test id dos restos que faltavam --- .../footer-top/Rede-social/Icon/Icon.tsx | 14 +++++++------ .../footer-top/Rede-social/RedeSociais.tsx | 20 ++++++++++++++++--- 2 files changed, 25 insertions(+), 9 deletions(-) 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) => ( - {text} + {text} - ); -}; +) 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 ( -
-
+
+
- +
); };