UNPKG

nes-ui-react

Version:

A design system that paints the web in 8 bits.

13 lines (12 loc) 558 B
/// <reference types="react" /> import { NamedColor } from "./interface/Color"; import { IdProps } from "./interface/IdProps"; import { Size } from "./interface/Size"; import { StyleProps } from "./interface/StyleProps"; export interface TextProps extends StyleProps, React.PropsWithChildren<any>, IdProps { color?: NamedColor | string; size?: Size; centered?: boolean; heading?: boolean; } export declare const Text: ({ id, children, style, color, size, className, centered, heading }: TextProps) => import("react/jsx-runtime").JSX.Element;