funuicss
Version:
React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting b
45 lines (44 loc) • 1.37 kB
TypeScript
import React from 'react';
type TypographyProps = {
id?: string;
size?: "smaller" | "small" | "big" | "bigger" | "jumbo" | "minified";
bg?: string;
color?: string;
children?: React.ReactNode;
hoverBg?: string;
hoverText?: string;
monospace?: boolean;
text?: string;
heading?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
funcss?: string;
emp?: boolean;
bold?: boolean;
block?: boolean;
body?: boolean;
article?: boolean;
light?: boolean;
lighter?: boolean;
italic?: boolean;
underline?: boolean;
quote?: boolean;
align?: "left" | "center" | "right" | "justify";
lineHeight?: string;
letterSpacing?: string;
uppercase?: boolean;
lowercase?: boolean;
capitalize?: boolean;
textDecoration?: "none" | "underline" | "overline" | "line-through";
textTransform?: "none" | "capitalize" | "uppercase" | "lowercase";
whiteSpace?: "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap";
wordBreak?: "normal" | "break-all" | "keep-all" | "break-word";
fontFamily?: string;
textShadow?: string;
textAlign?: "left" | "center" | "right" | "justify";
opacity?: number;
zIndex?: number;
transform?: string;
customStyles?: React.CSSProperties;
onClick?: () => void;
};
declare const Text: React.FC<TypographyProps>;
export default Text;