2.0.2 • Published 5 years ago
@beisen-phoenix/mobile-field-range v2.0.2
描述
移动端区间选择组件
name | description | type | default |
---|---|---|---|
labelText | 字段的label | string | |
required | 是否必填 | boolean | false |
readOnly | 是否只读状态 | boolean | false |
hasError | 是否显示错误 | boolean | false |
helpInfo | 帮助信息 | string | |
labelIcon | 自定义的label上的帮助提示icon | JSX.Element | |
min | 最小值 | number | 0 |
max | 最大值 | number | 1000 |
defaultValue | 默认值 | array | 0,100 |
unit | 单位 | string | |
showMarks | 是否显示标记 | boolean | true |
onChange | 字段值发生变化后的回调函数 | function | (values: [])=>void |