UNPKG

fumadocs-ui

Version:

The Radix UI version of Fumadocs UI

15 lines (14 loc) 429 B
import { ComponentPropsWithoutRef } from "react"; //#region src/components/heading.d.ts type Types = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; type HeadingProps<T extends Types> = Omit<ComponentPropsWithoutRef<T>, 'as'> & { as?: T; }; declare function Heading<T extends Types = 'h1'>({ as, className, ...props }: HeadingProps<T>): React.ReactElement; //#endregion export { Heading }; //# sourceMappingURL=heading.d.ts.map