UNPKG

@radix-ui/themes

Version:

[![Radix Themes Logo](https://radix-ui.com/social/themes.png)](https://radix-ui.com/themes)

12 lines 668 B
import * as React from 'react'; import { headingPropDefs } from './heading.props.js'; import type { MarginProps } from '../props/margin.props.js'; import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js'; import type { GetPropDefTypes } from '../props/prop-def.js'; type HeadingOwnProps = GetPropDefTypes<typeof headingPropDefs>; interface HeadingProps extends ComponentPropsWithout<'h1', RemovedProps>, MarginProps, HeadingOwnProps { } declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>; export { Heading }; export type { HeadingProps }; //# sourceMappingURL=heading.d.ts.map