mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
feat: Rate support keyboard prop (#49132)
* feat: rate add support for disable keyboard events * chore: bump rc-rate@2.13.0 * chore: update
This commit is contained in:
parent
a6bfb84993
commit
e244a0b816
@ -40,6 +40,7 @@ Common props ref:[Common props](/docs/react/common-props)
|
||||
| count | Star count | number | 5 | |
|
||||
| defaultValue | The default value | number | 0 | |
|
||||
| disabled | If read only, unable to interact | boolean | false | |
|
||||
| keyboard | Support keyboard operation | boolean | true | 5.18.0 |
|
||||
| style | The custom style object of rate | CSSProperties | - | |
|
||||
| tooltips | Customize tooltip by each character | string\[] | - | |
|
||||
| value | The current value | number | - | |
|
||||
|
@ -41,6 +41,7 @@ demo:
|
||||
| count | star 总数 | number | 5 | |
|
||||
| defaultValue | 默认值 | number | 0 | |
|
||||
| disabled | 只读,无法进行交互 | boolean | false | |
|
||||
| keyboard | 支持使用键盘操作 | boolean | true | 5.18.0 |
|
||||
| style | 自定义样式对象 | CSSProperties | - | |
|
||||
| tooltips | 自定义每项的提示信息 | string\[] | - | |
|
||||
| value | 当前数,受控值 | number | - | |
|
||||
|
@ -147,7 +147,7 @@
|
||||
"rc-pagination": "~4.0.4",
|
||||
"rc-picker": "~4.5.0",
|
||||
"rc-progress": "~4.0.0",
|
||||
"rc-rate": "~2.12.0",
|
||||
"rc-rate": "~2.13.0",
|
||||
"rc-resize-observer": "^1.4.0",
|
||||
"rc-segmented": "~2.3.0",
|
||||
"rc-select": "~14.14.0",
|
||||
|
Loading…
Reference in New Issue
Block a user