@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
11 lines (10 loc) • 334 B
TypeScript
import { BoxProps } from "./Box.js";
import { ForwardRef } from "./types.js";
export 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>;