1.1.3 • Published 1 year ago
用户详情_spacex
@teamix/user-info
用户详情
API
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|
title | 标题/用户名 | 否 | String | "" | |
subtitle | 小标题/所属部门 | 否 | String | "" | |
avatar | 头像 | 否 | Avatar | {size: 100, shape: 'circle'} | |
infoTitle | 基本信息标题 | 否 | String | "基本信息" | |
infoList | 详细信息 | 否 | Info[] | [] | |
className | 自定义组件className | 否 | string | | |
style | 自定义组件style | 否 | React.CSSProperties | | |
Info
Info {
icon: string;
text: string;
}