@rax-ui/progress
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.62 • Public • Published

display: Progress family: Data Display

Progress

用于展示操作的当前进度。

API

Props

名称 说明 类型 默认值
shape 形态
可选值:
circle (weex 不支持), line
enum line
percent 所占百分比,
可选值:
0 - 100
number 0
barWidth 进度条宽度, 单位 px number 4
size 进度条大小 (仅在 shape='circle' 时生效) string/number
color 颜色 string
platform 组件的平台特有样式, 可选值有 iOSAndroid, 由 ConfigPovider 传入 enum iOS
style style 属性 object {}
className className 属性 string
children 仅在 shape='circle' 时生效, 为进度条的百分比文字或者自定义渲染节点 node

CSS API

名称 说明
linear-progress shape='linear' 时样式
linear-progress__track shape='linear' 时轨道样式
linear-progress__bar shape='linear' 时进度条样式
circle-progress shape='circle' 时样式
circle-progress__track shape='circle' 时轨道样式
circle-progress__bar shape='circle' 时轨道样式
circle-progress__text-wrap shape='circle' 时文本层样式
circle-progress__text shape='circle' 时文本样式

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.0-beta.624latest
1.0.0-beta.470next

Version History

VersionDownloads (Last 7 Days)Published
1.0.0-beta.624
1.0.0-beta.600
1.0.0-beta.590
1.0.0-beta.570
1.0.0-beta.560
1.0.0-beta.550
1.0.0-beta.540
1.0.0-beta.530
1.0.0-beta.520
1.0.0-beta.510
1.0.0-beta.500
1.0.0-beta.490
1.0.0-beta.480
1.0.0-beta.470
1.0.0-beta.460
1.0.0-beta.450
1.0.0-beta.430
1.0.0-beta.420
1.0.0-beta.410
1.0.0-beta.400
1.0.0-beta.390
1.0.0-beta.380
1.0.0-beta.370
1.0.0-beta.360
1.0.0-beta.350
1.0.0-beta.320
1.0.0-beta.300
1.0.0-beta.290
1.0.0-beta.280
1.0.0-beta.270
1.0.0-beta.260
1.0.0-beta.240
1.0.0-beta.230
1.0.0-beta.220
1.0.0-beta.210
1.0.0-beta.200
1.0.0-beta.180
1.0.0-beta.170
1.0.0-beta.160
1.0.0-beta.150
1.0.0-beta.140
1.0.0-beta.130
1.0.0-beta.100
1.0.0-beta.90
1.0.0-beta.30
1.0.0-beta.20
1.0.0-beta.10
1.0.0-beta.00

Package Sidebar

Install

npm i @rax-ui/progress

Weekly Downloads

1

Version

1.0.0-beta.62

License

none

Unpacked Size

26 kB

Total Files

17

Last publish

Collaborators

  • lianmin
  • amdgigabyte
  • myronliu347