Skip to content

Commit 3132e83

Browse files
committed
docs: fix Chinese README API names
1 parent 90bb2b7 commit 3132e83

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.zh-CN.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ npm start
8383
| mode | `'input' \| 'spinner'` | `input` | 渲染模式。 |
8484
| parser | `(displayValue: string \| undefined) => T` | - | 将显示的值解析回一个值。 |
8585
| precision | `number` | - | Display precision. |
86-
| 前缀 | `ReactNode` | - | 前缀内容。 |
86+
| prefix | `ReactNode` | - | 前缀内容。 |
8787
| prefixCls | `string` | `rc-input-number` | className前缀。 |
8888
| readOnly | `boolean` | `false` | 将输入标记为只读。 |
8989
| step | `number \| string` | `1` | Step size. |
9090
| stringMode | `boolean` | `false` | 将值保留为字符串以获得高精度小数。 |
91-
| 风格 | `React.CSSProperties` | - | 根元素的内联样式。 |
91+
| style | `React.CSSProperties` | - | 根元素的内联样式。 |
9292
| styles | `Partial<Record<SemanticName, React.CSSProperties>>` | - | 输入数字槽的语义样式。 |
93-
| 后缀 | `ReactNode` | - | 后缀内容。 |
93+
| suffix | `ReactNode` | - | 后缀内容。 |
9494
| upHandler | `ReactNode` | - | 自定义增量控制。 |
95-
| 价值 | `T \| null` | - | 受控值。 |
95+
| value | `T \| null` | - | 受控值。 |
9696
| onChange | `(value: T \| null) => void` | - | 当提交的值改变时触发。 |
9797
| onInput | `(text: string) => void` | - | 当原始输入文本更改时触发。 |
9898
| onPressEnter | `React.KeyboardEventHandler<HTMLInputElement>` | - | 当按下 Enter 时触发。 |
@@ -113,8 +113,8 @@ ref.current?.blur();
113113

114114
| 参数 | 类型 | 说明 |
115115
| ------------- | --------------------------------------- | -------------------- |
116-
| 重点 | `(options?: InputFocusOptions) => void` | 集中输入。 |
117-
| 模糊 | `() => void` | 模糊输入。 |
116+
| focus | `(options?: InputFocusOptions) => void` | 集中输入。 |
117+
| blur | `() => void` | 模糊输入。 |
118118
| nativeElement | `HTMLElement` | 根原生元素。 |
119119

120120
## 键盘与滚轮

0 commit comments

Comments
 (0)