XDSLinkProvider@xds/core · Link

Usage

Wraps your app to replace the default <a> tag with a framework-specific link component (e.g. Next.js Link) for client-side routing across all XDS components.

Import

ts
import {XDSLinkProvider} from '@xds/core/Link'

Props

PropTypeDescription
componentrequired
XDSLinkComponentTypeLink component to use for all link elements in the subtree (e.g. Next.js Link).
childrenrequired
ReactNodeContent to render with the link provider.