mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 07:26:35 +00:00
add tittle to the nav link
This commit is contained in:
@@ -87,6 +87,7 @@ export function NavLink({ href, tag, active, isAnchorLink = false, children, lin
|
|||||||
href={href ? href : "#"}
|
href={href ? href : "#"}
|
||||||
data-nb-link={active ? 1 : 0}
|
data-nb-link={active ? 1 : 0}
|
||||||
aria-current={active ? 'page' : undefined}
|
aria-current={active ? 'page' : undefined}
|
||||||
|
title={children}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'flex justify-between gap-2 py-1 pr-3 text-sm transition',
|
'flex justify-between gap-2 py-1 pr-3 text-sm transition',
|
||||||
isAnchorLink ? 'pl-7' : 'pl-4',
|
isAnchorLink ? 'pl-7' : 'pl-4',
|
||||||
|
|||||||
Reference in New Issue
Block a user