From a239d17697afba88b22c0316faad0a9c31553a1a Mon Sep 17 00:00:00 2001 From: ChenNux Date: Thu, 5 Dec 2024 23:42:38 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20front/src/components/ClickableLink.tsx=20=09modifi=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20front/src/components/LogoButt?= =?UTF-8?q?on.tsx=20=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20front?= =?UTF-8?q?/src/components/RoundButton.tsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Insertion des types pour les composants. --- front/src/components/ClickableLink.tsx | 7 ++++++- front/src/components/LogoButton.tsx | 7 ++++++- front/src/components/RoundButton.tsx | 8 +++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/front/src/components/ClickableLink.tsx b/front/src/components/ClickableLink.tsx index ee88b3b..7cf03eb 100644 --- a/front/src/components/ClickableLink.tsx +++ b/front/src/components/ClickableLink.tsx @@ -1,4 +1,9 @@ -export default function ClickableLink({url, text}) { +interface ClickableLinkProps { + url:string; + text:string; +} + +export default function ClickableLink({url, text}: ClickableLinkProps) { return (