继承
LocaleBase
用法
<div style={{ marginBottom: 20 }}>
<ProgressBar value={40} showValue></ProgressBar>
</div>
<div style={{ marginBottom: 20 }}>
<ProgressBar value={70}></ProgressBar>
</div>
<div style={{ marginBottom: 20 }}>
<div style={{ textAlign: 'right' }}>50%</div>
<ProgressBar value={50} barCls="c6" style={{ height: 4 }}></ProgressBar>
</div>
属性
名称 | 类型 | 描述 | 默认 |
---|---|---|---|
value | number | 百分比值。 | 0 |
showValue | boolean | 定义是否显示进度值。 | false |
barCls | string | 进度条的样式类。 | null |
barStyle | Object | 进度条的内联样式。 | null |