Skip to main content

Link

Link(props: Omit<AnchorHTMLAttributes<HTMLAnchorElement>, href>RouterPushOptions): ReactNode

NOTE: Exotic components are not callable.

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
hrefstring | Location
hrefstring | Location
propsOmit<AnchorHTMLAttributes<HTMLAnchorElement>, href>RouterPushOptions
Additional properties for advanced use cases
PropertiesTypeDescription
activeClassNamestring
activeClassNamestring
activeStyleCSSProperties
activeStyleCSSProperties
ComponentForwardRefRenderFunction<HTMLAnchorElement, LinkComponentProps>
ComponentForwardRefRenderFunction<HTMLAnchorElement, LinkComponentProps>
exactboolean
exactboolean
isActive
isActive
prefetchboolean
prefetchboolean
replaceboolean
replaceboolean
scrollboolean
scrollboolean
strictbooleanRefAttributes<HTMLAnchorElement>
strictbooleanRefAttributes<HTMLAnchorElement>