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) => ( ,