XDSLinkProvider@xds/core · Link
Preview coming soon
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
tsimport {XDSLinkProvider} from '@xds/core/Link'
Props
| Prop | Type | Description |
|---|---|---|
componentrequired | XDSLinkComponentType | Link component to use for all link elements in the subtree (e.g. Next.js Link). |
childrenrequired | ReactNode | Content to render with the link provider. |