Renders all the <link> tags created by the route module's links export. You should render it inside the <head> of your document.
<link>
links
<head>
Props
Props for the Links component.
Optional
A crossOrigin attribute to render on the <link> element
crossOrigin
A nonce attribute to render on the <link> element
nonce
A collection of React elements for <link> tags
import { Links } from "react-router";export default function Root() { return ( <html> <head> <Links /> </head> <body></body> </html> );}@public Copy
import { Links } from "react-router";export default function Root() { return ( <html> <head> <Links /> </head> <body></body> </html> );}@public
framework
Renders all the
<link>tags created by the route module'slinksexport. You should render it inside the<head>of your document.