Pārlūkot izejas kodu

docs: correct wrong api name, from prefixCls to prefix in timePicker and inputNumber

linyan 2 gadi atpakaļ
vecāks
revīzija
667778156f

+ 1 - 1
content/input/inputnumber/index-en-US.md

@@ -215,7 +215,7 @@ function Demo () {
 | min          | Limit minimum value                                                                             | number                            | -Infinity |            |
 | parser       | Specifies how to convert back number string from formatter and use them in conjunction with formatter | (value: string) => string         | -         |      |
 | precision    | Numerical precision                                                                             | number                            | -         |            |
-| prefixCls    | Prefix content                                                                                  | string\|ReactNode                 |           |            |
+| prefix    | Prefix content                                                                                  | string\|ReactNode                 |           |            |
 | pressInterval| How often will the click event be triggered when the button is long pressed, in milliseconds                                   | number                 |   250        |           |
 | pressTimeout | When the button is long pressed, how long will the click event be triggered after the delay, in milliseconds                                               | number                 |     250      |           |
 | preventScroll | Indicates whether the browser should scroll the document to display the newly focused element, acting on the focus method inside the component, excluding the component passed in by the user | boolean |  |  |

+ 1 - 1
content/input/inputnumber/index.md

@@ -189,7 +189,7 @@ function Demo () {
 | min          | 限定最小值                                                     | number                            | -Infinity |           |
 | parser       | 指定从 `formatter` 里转换回数字串的方式,和 `formatter` 搭配使用 | (str: string) => string           | -         |           |
 | precision    | 数值精度                                                       | number                            | -         |           |
-| prefixCls    | 前缀内容                                                       | string\|ReactNode                 |           |           |
+| prefix    | 前缀内容                                                       | string\|ReactNode                 |           |           |
 | pressInterval| 长按按钮时,多久触发一次点击事件,单位毫秒                                   | number                 |   250        |           |
 | pressTimeout | 长按按钮时,延迟多久后触发点击事件,单位毫秒                                                      | number                 |     250      |           |
 | preventScroll | 指示浏览器是否应滚动文档以显示新聚焦的元素,作用于组件内的 focus 方法 | boolean |  |  |

+ 1 - 1
content/input/timepicker/index-en-US.md

@@ -327,7 +327,7 @@ function Demo(props = {}) {
 | popupClassName | Pop-up class name | string | '' |
 | popupStyle | Pop-up layer style object | object | - |
 | position | Floating position | string | type="timeRange" => "bottom"<br/>type="time" => "bottomLeft" |
-| prefixCls | Prefix content | string\|ReactNode |  |  |
+| prefix | Prefix content | string\|ReactNode |  |  |
 | preventScroll | Indicates whether the browser should scroll the document to display the newly focused element, acting on the focus method inside the component, excluding the component passed in by the user | boolean |  |  |
 | rangeSeparator | time range delimiter | string | "~" |
 | scrollItemProps | The props passed through to ScrollItem. The optional values are the same as [ScrollList#API](/zh-CN/show/scrolllist#ScrollItem) | object |  | **0.31.0** |

+ 1 - 1
content/input/timepicker/index.md

@@ -318,7 +318,7 @@ function Demo(props = {}) {
 | popupClassName      | 弹出层类名                                             | string                                                                            | ''                                                                |                    |
 | popupStyle          | 弹出层样式对象                                         | object                                                                            | -                                                                 |                    |
 | position            | 浮层位置                                               | string                                                                            | type="timeRange"时默认为"bottom",type="time"时默认为"bottomLeft" |                    |
-| prefixCls              | 前缀内容                                               | string\|ReactNode                                                                 |                                                                   |                    |
+| prefix              | 前缀内容                                               | string\|ReactNode                                                                 |                                                                   |                    |
 | preventScroll | 指示浏览器是否应滚动文档以显示新聚焦的元素,作用于组件内的 focus 方法 | boolean |  |  |
 | rangeSeparator      | 时间范围分隔符                                         | string                                                                            | " ~ "                                                             |                    |
 | scrollItemProps     | 透传给 scrollItem 的属性,可选值同[ScrollList#API](/zh-CN/show/scrolllist#ScrollItem)                                                | object                                                           | | **0.31.0**         |