@wordpress/components
Version:
UI components for WordPress.
17 lines • 588 B
TypeScript
/// <reference types="react" />
/**
* `Heading` renders headings and titles using the library's typography system.
*
* ```jsx
* import { __experimentalHeading as Heading } from "@wordpress/components";
*
* function Example() {
* return <Heading>Code is Poetry</Heading>;
* }
* ```
*/
export declare const Heading: import("../ui/context").WordPressComponent<"h1", Omit<import("../text/types").Props, "size"> & {
level?: import("./types").HeadingSize | undefined;
} & import("react").RefAttributes<any>, true>;
export default Heading;
//# sourceMappingURL=component.d.ts.map