UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

10 lines (9 loc) 442 B
import type { ReactElement } from "react"; import type { HeadingProps } from "./Heading.js"; /** Props for `Subheading` — identical to `HeadingProps`. */ export type SubheadingProps = HeadingProps; /** * Subsection heading — renders an `<h3>`. * - Only marginally larger than body text; its bold weight is the main differentiator. */ export declare function Subheading({ level, children, ...variants }: SubheadingProps): ReactElement;