UNPKG

@brizy/ui

Version:
26 lines (25 loc) 773 B
import React from "react"; import { AlignType, ResponsiveType, FontSizeType } from "./utils"; import { Color, FCC } from "../types"; export interface EllipsisConfig { rows?: number; expandable?: boolean; suffix?: string; symbol?: React.ReactNode; onExpand?: React.MouseEventHandler<HTMLElement>; onEllipsis?: (ellipsis: boolean) => void; } export interface Props { code?: boolean; strong?: boolean; mark?: boolean; underline?: boolean; color?: Color; hoverColor?: Color; align?: AlignType | ResponsiveType<AlignType>; size?: FontSizeType | ResponsiveType<FontSizeType>; italic?: boolean; ellipsis?: boolean | EllipsisConfig; onClick?: VoidFunction; } export declare const TypographyParagraph: FCC<Props>;