@automattic/social-previews
Version:
A suite of components to generate previews for a post for both social and search engines.
10 lines • 362 B
TypeScript
/// <reference types="react" />
declare const HEADING_LEVELS: readonly [2, 3, 4, 5, 6];
export type SectionHeadingProps = {
className?: string;
level?: (typeof HEADING_LEVELS)[number];
children?: React.ReactNode;
};
export declare const SectionHeading: React.FC<SectionHeadingProps>;
export default SectionHeading;
//# sourceMappingURL=index.d.ts.map