@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
10 lines (9 loc) • 582 B
TypeScript
import { AllSystemProps, SxProp } from '../../system';
import { AsProp, ChildrenProp, HTMLAttributes, LiteralUnion } from '../../types';
export declare type HeadingVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'inherit';
export interface HeadingProps extends HTMLAttributes, AsProp, ChildrenProp, AllSystemProps, SxProp {
color?: string;
/** Variant of the heading. */
variant?: LiteralUnion<HeadingVariant>;
}
export declare const Heading: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, HeadingProps, never>;