@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
10 lines (9 loc) • 620 B
TypeScript
import { AllSystemProps, SxProp } from '../../system';
import { AsProp, ChildrenProp, HTMLAttributes, LiteralUnion } from '../../types';
export declare type TextVariant = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl' | 'inherit';
export interface TextProps extends HTMLAttributes, AsProp, ChildrenProp, AllSystemProps, SxProp {
color?: string;
/** Variant of the text. */
variant?: LiteralUnion<TextVariant>;
}
export declare const Text: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, TextProps, never>;