UNPKG

@upv/react-ui-core

Version:

**USHI Design System — Modern UI Component Library**

20 lines (19 loc) 710 B
import React, { JSX } from "react"; import { DefaultTheme } from "styled-components"; export type TypographyProps = { children: React.ReactNode; className?: string; as?: keyof JSX.IntrinsicElements; variant?: keyof DefaultTheme["typography"]; color?: string; colorScheme?: keyof DefaultTheme["colors"]; weight?: "light" | "regular" | "medium" | "bold" | "extraBold"; align?: "left" | "center" | "right"; textTransform?: "uppercase" | "lowercase" | "capitalize" | "none"; ellipsis?: boolean; multiLineEllipsis?: number; hoverEffect?: boolean; animated?: boolean; style?: React.CSSProperties; }; export declare const Typography: React.FC<TypographyProps>;