From 2ac089c078fad84cb957582220918d7bf51a944b Mon Sep 17 00:00:00 2001 From: Edu <139919492+EduWTR@users.noreply.github.com> Date: Sun, 4 Feb 2024 21:42:48 +0100 Subject: [PATCH] feat: title to web-link component (#64) --- components/button/button-up.tsx | 1 + components/web-link/web-link.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/components/button/button-up.tsx b/components/button/button-up.tsx index 7410bd2..743dcd6 100644 --- a/components/button/button-up.tsx +++ b/components/button/button-up.tsx @@ -3,6 +3,7 @@ import { WebLink } from '@/components/web-link/web-link' export const ButtonUp = () => { return ( diff --git a/components/web-link/web-link.tsx b/components/web-link/web-link.tsx index 70d3ec9..200919a 100644 --- a/components/web-link/web-link.tsx +++ b/components/web-link/web-link.tsx @@ -3,16 +3,19 @@ type WebLinkProps = { href: string className?: string target?: string + title?:string } export const WebLink = ({ children, href, + title, className, target = '_blank', }: WebLinkProps) => (