shelving
Version:
Toolkit for using data in JavaScript.
10 lines (9 loc) • 407 B
TypeScript
import type { ReactElement } from "react";
import type { HeadingProps } from "./Heading.js";
/** Props for `Title` — identical to `HeadingProps`. */
export type TitleProps = HeadingProps;
/**
* Page title — renders an `<h1>`.
* - The most prominent heading on a page; there should normally be exactly one.
*/
export declare function Title({ level, children, ...variants }: TitleProps): ReactElement;