@aligov/components-star

1.0.0 • Public • Published

打星

@aligov/components-star

打星

API

参数 说明 类型 默认值
className class String ''
style 样式 Object null
bgColor 星星的背景颜色 String #EBECF0
showHalf 是否显示一半 Boolean false
ceil 进度超出部分是否显示(比如showHalf为false,ceil为true,number为5,那么进度2.5时显示三个星,否则两颗星) Boolean true
distance 星星之间的间隔 Number 8
total 总值 Number 5
value 当前值 Number 0

/@aligov/components-star/

    Package Sidebar

    Install

    npm i @aligov/components-star

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    174 kB

    Total Files

    10

    Last publish

    Collaborators

    • jasoncapricorn
    • qingkaili
    • huguoxin
    • shenyu.wsy
    • liunian
    • tao1991123
    • itrip
    • xiazhiqiang
    • mo.zhou
    • guoliang.hgl
    • daip
    • baizhao