- NavLink(props): ReactNode
Returns ReactNode
Properties
Readonly
$$typeof
$$typeof: symbol
Optional
defaultProps
defaultProps?: Partial<NavLinkProps & RefAttributes<HTMLAnchorElement>> Optional
displayName
displayName?: string
Optional
propTypes
propTypes?: WeakValidationMap<NavLinkProps & RefAttributes<HTMLAnchorElement>>
Wraps
<Link>
with additional props for styling active and pending states.aria-current="page"
to the link when the link is active. Seearia-current
on MDN.States are available through the className, style, and children render props. See NavLinkRenderProps.