/// import * as React from "react"; interface HTMLAttributesWeak extends React.HTMLAttributes { title?: any; } export interface CardProps extends HTMLAttributesWeak { /** * 样式的品牌前缀 */ prefix?: string; /** * 卡片的标题 */ title?: React.ReactNode; /** * 卡片的副标题 */ subTitle?: React.ReactNode; /** * 是否显示标题的前缀线 */ titlePrefixLine?: boolean; /** * 是否显示标题栏的下划线 */ titleBottomLine?: boolean; /** * 内容区域的固定高度 */ bodyHeight?: string | number; /** * 标题区域的用户自定义内容 */ extra?: React.ReactNode; /** * 自定义样式 */ className?: string; } export default class Card extends React.Component {}