@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
11 lines (10 loc) • 570 B
TypeScript
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 };