mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
docs(cell): correct the type of label (#12721)
This commit is contained in:
parent
fdc5f9d704
commit
f578ac2d3f
@ -142,7 +142,7 @@ app.use(CellGroup);
|
||||
| --- | --- | --- | --- |
|
||||
| title | Title | _number \| string_ | - |
|
||||
| value | Right text | _number \| string_ | - |
|
||||
| label | Description below the title | _string_ | - |
|
||||
| label | Description below the title | _number \| string_ | - |
|
||||
| size | Size, can be set to `large` `normal` | _string_ | - |
|
||||
| icon | Left Icon | _string_ | - |
|
||||
| icon-prefix | Icon className prefix | _string_ | `van-icon` |
|
||||
|
@ -147,7 +147,7 @@ app.use(CellGroup);
|
||||
| --- | --- | --- | --- |
|
||||
| title | 左侧标题 | _number \| string_ | - |
|
||||
| value | 右侧内容 | _number \| string_ | - |
|
||||
| label | 标题下方的描述信息 | _string_ | - |
|
||||
| label | 标题下方的描述信息 | _number \| string_ | - |
|
||||
| size | 单元格大小,可选值为 `large` `normal` | _string_ | - |
|
||||
| icon | 左侧图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props) | _string_ | - |
|
||||
| icon-prefix | 图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | _string_ | `van-icon` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user