import { PropsWithChildren, default as React } from 'react'; import { HeadingLevel } from '../../types'; export interface DynamicHeadingProps extends PropsWithChildren, React.HTMLAttributes { as: HeadingLevel; } /** * @name DynamicHeading * * @description * The DynamicHeading component is a component that will render a heading based on the `as` prop that is passed to it. * * @param {HeadingLevel} as The heading level that will be rendered * @param {React.ReactNode} children The content of the heading * * @returns {React.ReactElement} The rendered heading * * @example * ... * */ declare const DynamicHeading: React.FC; export default DynamicHeading; //# sourceMappingURL=DynamicHeading.d.ts.map