1.0.0 • Published 6 years ago

@aligov/components-star v1.0.0

Weekly downloads
8
License
MIT
Repository
-
Last release
6 years ago

打星

@aligov/components-star

打星

API

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