From 14b68548b3f4d1490af6c28482b0b603c23b430e Mon Sep 17 00:00:00 2001 From: GaelleA Date: Fri, 29 Nov 2024 08:41:20 -0500 Subject: [PATCH] feat(publicstudies): SJIP-1105 add link to login page --- .../PublicLayout/Header/HeaderButton/index.tsx | 11 ++++++++++- src/components/PublicLayout/Header/index.tsx | 10 +++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/components/PublicLayout/Header/HeaderButton/index.tsx b/src/components/PublicLayout/Header/HeaderButton/index.tsx index 51be33c6..1364cbd2 100644 --- a/src/components/PublicLayout/Header/HeaderButton/index.tsx +++ b/src/components/PublicLayout/Header/HeaderButton/index.tsx @@ -8,14 +8,23 @@ interface OwnProps { className?: string; icon?: React.ReactElement; isActive?: boolean; + onClick?: () => void; title: string; } -const HeaderButton = ({ className = '', icon, isActive = false, title, ...props }: OwnProps) => ( +const HeaderButton = ({ + className = '', + icon, + isActive = false, + onClick, + title, + ...props +}: OwnProps) => ( ,