diff --git a/components/rate/index.en-US.md b/components/rate/index.en-US.md index 354f9f8a21..80ca8104b3 100644 --- a/components/rate/index.en-US.md +++ b/components/rate/index.en-US.md @@ -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 | - | | diff --git a/components/rate/index.zh-CN.md b/components/rate/index.zh-CN.md index bf3739d25d..25cabeb297 100644 --- a/components/rate/index.zh-CN.md +++ b/components/rate/index.zh-CN.md @@ -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 | - | | diff --git a/package.json b/package.json index 2373e9b967..c51e9a4d9e 100644 --- a/package.json +++ b/package.json @@ -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",