UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

11 lines (10 loc) 622 B
import type { ReactElement } from "react"; import type { PossibleMeta } from "../util/index.js"; import type { ChildProps } from "../util/props.js"; export interface HTMLProps extends PossibleMeta, ChildProps { } /** * Output a `<html>` element wrapping `<head>` (via `<Head>`) and `<body>`. * - `<Head>` renders the literal `<head>` with `<base>` and other shell-level metadata; per-page hoistable elements (title, meta, links, stylesheets, scripts) come from `<PageHead>` inside `<Page>` and are hoisted into this `<head>` by React 19. */ export declare function HTML({ children, ...meta }: HTMLProps): ReactElement;