UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

30 lines (29 loc) 826 B
import { DivProps } from "../types/index.mjs"; import { TooltipProps } from "../Tooltip/type.mjs"; import "../Tooltip/index.mjs"; import { ElementType, Ref } from "react"; //#region src/Text/type.d.ts interface TextProps extends DivProps { align?: 'left' | 'center' | 'right'; as?: ElementType; code?: boolean; color?: string; delete?: boolean; disabled?: boolean; ellipsis?: boolean | { rows?: number; tooltip?: boolean | string | TooltipProps; tooltipWhenOverflow?: boolean; }; fontSize?: number | string; italic?: boolean; mark?: boolean; ref?: Ref<HTMLDivElement>; strong?: boolean; type?: 'secondary' | 'success' | 'warning' | 'danger' | 'info'; underline?: boolean; weight?: 'bold' | 'bolder' | number; } //#endregion export { TextProps }; //# sourceMappingURL=type.d.mts.map