@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
11 lines (10 loc) • 336 B
TypeScript
import { BoxProps } from './Box';
import { ForwardRef } from './types';
export declare type TextProps = BoxProps;
/**
* Primitive typographic component.
*
* Text style variants can be defined in the theme.text object.
* @see https://theme-ui.com/components/text
*/
export declare const Text: ForwardRef<HTMLDivElement, TextProps>;