UNPKG

@tanstack/solid-router

Version:

Modern and scalable routing for Solid applications

13 lines (12 loc) 633 B
import { AssetCrossOriginConfig } from '@tanstack/router-core'; export interface HeadContentProps { assetCrossOrigin?: AssetCrossOriginConfig; } /** * @description The `HeadContent` component registers the current route's meta * tags, links, and scripts with Solid's head registry, which owns emission * into `<head>` (SSR splicing/streaming and client-side patching alike). It * can be rendered anywhere in the tree, though placing it inside the `<head>` * of your document keeps the hydration script in the right place. */ export declare function HeadContent(props: HeadContentProps): import("solid-js/web").JSX.Element;