@tanstack/react-router
Version:
Modern and scalable routing for React applications
17 lines (16 loc) • 736 B
TypeScript
import { RouterManagedTag } from '@tanstack/router-core';
/**
* Build the list of head/link/meta/script tags to render for active matches.
* Used internally by `HeadContent`.
*/
export declare const useTags: () => RouterManagedTag[];
/**
* @description The `HeadContent` component is used to render meta tags, links, and scripts for the current route.
* It should be rendered in the `<head>` of your document.
*/
/**
* Render route-managed head tags (title, meta, links, styles, head scripts).
* Place inside the document head of your app shell.
* @link https://tanstack.com/router/latest/docs/framework/react/guide/document-head-management
*/
export declare function HeadContent(): import("react/jsx-runtime").JSX.Element[];