0.0.2 • Published 4 years ago

@hysight/progress v0.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

hysight-progress

npm 发布方法

    npm set registry http://192.168.1.207:5000
    npm adduser --registry http://192.168.1.207:5000
    npm publish 

Examples

import Progress from '@hysight/progress';

or

<Progress ...props />

Usage

    npm install @hysight/progress --save --registry=http://192.168.1.207:5000
    or
    yarn add @hysight/progress --registry=http://192.168.1.207:5000
    then
    import Progress from '@hysight/progress'

Tree Props

PropDefaultTypeDescription
percent0number百分比
formatpercent => percent + '%'func(percent)内容的模板函数
statusnormalstring状态,可选:normal active exception success
showInfotrueboolean是否显示进度数值或状态图标
strokeWidth15number进度条线的宽度,单位 px

change logs

0.0.2

  • 发布到公网npm

0.0.1

  • 初始化项目