UNPKG

@radix-ui/themes

Version:

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

11 lines (10 loc) 570 B
import * as React from 'react'; import { headingPropDefs } from './heading.props.js'; import type { ComponentPropsWithout, RemovedProps } from '../helpers/index.js'; import type { GetPropDefTypes, MarginProps } from '../props/index.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 };