Progress 进度条
展示任务或容量的完成进度,支持线形与圆形两种形态,可自定义颜色与文字。
基础用法
基础用法
60%
100%
80%
40%
55%
70 分
75%
100%
30%
import { LhProgress } from '@lh-ui/react'
export default function Demo() {
return (
<>
<LhProgress percentage={60} />
<LhProgress percentage={80} status="warning" />
<LhProgress type="circle" percentage={75} />
</>
)
}
Progress Props
| 属性 |
|---|