/// export interface ThinkProps { /** * 标题 * @type { string } * @default undefined */ title: string; /** * 内容 * @type { React.ReactNode } * @default undefined */ children: React.ReactNode; /** * 加载状态 * @type { boolean } * @default false */ loading?: boolean | React.ReactNode; /** * 图标 * @type { React.ReactNode } * @default undefined */ icon?: React.ReactNode; /** * 展开状态 * @type { boolean } * @default undefined */ expanded?: boolean; /** * 默认展开状态 * @type { boolean } * @default false */ defaultExpanded?: boolean; /** * 自定义类名 * @type { string } * @default undefined */ className?: string; /** * 自定义样式 * @type { React.CSSProperties } * @default undefined */ style?: React.CSSProperties; /** * blink动画 * @type { boolean } * @default true */ blink?: boolean; /** * 引用线 * @type { boolean } * @default true */ quote?: boolean; /** * 展开状态变化回调 * @type { (expanded: boolean) => void } * @default undefined * @returns { void } */ onExpand?: (expanded: boolean) => void; }