@tanstack/solid-router
Version:
Modern and scalable routing for Solid applications
12 lines (11 loc) • 669 B
TypeScript
import type { AssetCrossOriginConfig } from '@tanstack/router-core';
export interface HeadContentProps {
assetCrossOrigin?: AssetCrossOriginConfig;
}
/**
* @description The `HeadContent` component is used to render meta tags, links, and scripts for the current route.
* When using full document hydration (hydrating from `<html>`), this component should be rendered in the `<body>`
* to ensure it's part of the reactive tree and updates correctly during client-side navigation.
* The component uses portals internally to render content into the `<head>` element.
*/
export declare function HeadContent(props: HeadContentProps): import("solid-js").JSX.Element;