@primer/react
Version:
An implementation of GitHub's Primer Design System using React
13 lines • 556 B
TypeScript
import type { SxProp } from '../sx';
import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic';
type HeadingLevels = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
type HeadingVariants = 'large' | 'medium' | 'small';
export type ActionListHeadingProps = {
as: HeadingLevels;
size?: HeadingVariants;
visuallyHidden?: boolean;
className?: string;
} & SxProp;
export declare const Heading: PolymorphicForwardRefComponent<HeadingLevels, ActionListHeadingProps>;
export {};
//# sourceMappingURL=Heading.d.ts.map