@primer/react
Version:
An implementation of GitHub's Primer Design System using React
11 lines • 525 B
TypeScript
import type { SxProp } from '../sx';
import type { ComponentProps } from '../utils/types';
import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic';
type StyledHeadingProps = {
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
variant?: 'large' | 'medium' | 'small';
} & SxProp;
declare const Heading: PolymorphicForwardRefComponent<"h2", StyledHeadingProps>;
export type HeadingProps = ComponentProps<typeof Heading>;
export default Heading;
//# sourceMappingURL=Heading.d.ts.map