/** * @file 可折叠文本 */ import { FC, ReactNode } from 'react'; interface Props { /** * 内容, 支持 span, a 等 inline 文本元素 */ content: ReactNode; /** * 超过此行数文字会被折叠 */ maxLines?: number; /** * 如果组件在非白色背景上使用, 需要传入具体的背景色来辅助展开按钮的渲染 */ backgroundColor?: string; fontSize?: number; lineHeight?: string; color?: string; className?: string; } export declare const CollapsibleText: FC; export {};