mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
progress bar 和 progress circle api分开
This commit is contained in:
parent
ef3f753470
commit
fc69971f99
@ -16,7 +16,7 @@
|
||||
* 当需要显示一个操作完成的百分比时。
|
||||
|
||||
|
||||
## API
|
||||
## Progress Bar API
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|----------|---------------|----------|-------------|
|
||||
@ -26,5 +26,14 @@
|
||||
| width | 必填,进度条画布宽度,单位px。这里没有提供height属性设置,Line型高度就是strokeWidth,Circle型高度等于width | number | null |
|
||||
|
||||
|
||||
## Progress Circle API
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|----------|---------------|----------|-------------|
|
||||
| percent | 百分比 | number | 0 |
|
||||
| status | 状态,有两个值normal、exception | string | normal |
|
||||
| strokeWidth | 进度条线宽度,单位是px | number | 1 |
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user