Skip to content

Progress 进度条

展示进度百分比。

基础用法

loading

状态与内显文字

loading

自定义颜色

loading

API

属性说明类型
percentage进度 0–100number
status状态'success' | 'warning' | 'exception'
strokeWidth线条宽度number
showText是否显示文字boolean
textInside文字是否在条内boolean
color进度条颜色string | string[]
format自定义文字格式化(p: number) => string

MIT License