diff --git a/src/components/checkbox/index.en.md b/src/components/checkbox/index.en.md index abfc38052a..fd79b3cb81 100644 --- a/src/components/checkbox/index.en.md +++ b/src/components/checkbox/index.en.md @@ -28,7 +28,7 @@ type CheckboxValue = string | number | block | Whether to render as a block-level element | `boolean` | `false` | | checked | To specify whether selected or not currently | `boolean` | `false` | | defaultChecked | Selected or not initially | `boolean` | `false` | -| disabled | Failure state | `boolean` | `false` | +| disabled | Disabled state | `boolean` | `false` | | icon | The customized `icon` | `(checked: boolean, indeterminate: boolean) => React.ReactNode` | - | | id | The id of the input element, often used in conjunction with the label | `string` | - | | indeterminate | To set the `indeterminate` state, only responsible for style control | `boolean` | `false` | diff --git a/src/components/checkbox/index.zh.md b/src/components/checkbox/index.zh.md index e4670489a9..5b14d5ff33 100644 --- a/src/components/checkbox/index.zh.md +++ b/src/components/checkbox/index.zh.md @@ -28,7 +28,7 @@ type CheckboxValue = string | number | block | 是否渲染为块级元素 | `boolean` | `false` | | checked | 指定当前是否选中 | `boolean` | `false` | | defaultChecked | 初始是否选中 | `boolean` | `false` | -| disabled | 失效状态 | `boolean` | `false` | +| disabled | 禁用状态 | `boolean` | `false` | | icon | 自定义 `icon` 图标 | `(checked: boolean, indeterminate: boolean) => React.ReactNode` | - | | id | `input` 元素的 `id`,常用来配合 `label` 使用 | `string` | - | | indeterminate | 设置 `indeterminate` 状态,只负责样式控制 | `boolean` | `false` | diff --git a/src/components/picker/index.zh.md b/src/components/picker/index.zh.md index 4b1b100d1b..79876746cc 100644 --- a/src/components/picker/index.zh.md +++ b/src/components/picker/index.zh.md @@ -155,7 +155,7 @@ type PickerDate = Date & { | 属性 | 说明 | 类型 | 默认值 | 版本 | | --- | --- | --- | --- | --- | | children | 所选项的渲染函数 | `(value: PickerDate, actions: PickerActions) => ReactNode` | - | -| defaultValue | 选中值 | `PickerDate` | - | +| defaultValue | 默认选中值 | `PickerDate` | - | | destroyOnClose | 不可见时是否销毁 `DOM` 结构 | `boolean` | `false` | | filter | 过滤可供选择的时间 | `DatePickerFilter` | - | | forceRender | 强制渲染内容 | `boolean` | `false` | diff --git a/src/components/radio/index.zh.md b/src/components/radio/index.zh.md index 33e6753ce6..5132d16f4d 100644 --- a/src/components/radio/index.zh.md +++ b/src/components/radio/index.zh.md @@ -27,7 +27,7 @@ type RadioValue = string | number | block | 是否渲染为块级元素 | `boolean` | `false` | | checked | 指定当前是否选中 | `boolean` | `false` | | defaultChecked | 初始是否选中 | `boolean` | `false` | -| disabled | 失效状态 | `boolean` | `false` | +| disabled | 禁用状态 | `boolean` | `false` | | icon | 自定义 `icon` 图标 | `(checked: boolean) => React.ReactNode` | - | | id | `input` 元素的 `id`,常用来配合 `label` 使用 | `string` | - | | onChange | 变化时回调函数 | `(val: boolean) => void` | - | diff --git a/src/components/selector/index.en.md b/src/components/selector/index.en.md index a2d27b57c1..4f317e104d 100644 --- a/src/components/selector/index.en.md +++ b/src/components/selector/index.en.md @@ -20,7 +20,7 @@ Provides multiple options for the user to choose from, typically used in filters | --- | --- | --- | --- | | columns | Number of the displayed columns (Note that `grid` layout not support in IOS 9) | `number` | - | | defaultValue | Selected value by default | `SelectorValue[]` | `[]` | -| disabled | Whether to disable selecting | `boolean` | `false` | +| disabled | Whether to all disable selecting | `boolean` | `false` | | multiple | Whether to allow multiple selections | `boolean` | `false` | | onChange | Triggered when the value is changed | `(value: SelectorValue[], extend: { items: SelectorOption[] }) => void` | - | | options | Optional selector | `SelectorOption[]` | - | diff --git a/src/components/selector/index.zh.md b/src/components/selector/index.zh.md index bc1fb1e721..f949133f34 100644 --- a/src/components/selector/index.zh.md +++ b/src/components/selector/index.zh.md @@ -20,7 +20,7 @@ | --- | --- | --- | --- | | columns | 列数(注意 `grid` 布局在 IOS 9 下不支持) | `number` | - | | defaultValue | 默认项 | `SelectorValue[]` | `[]` | -| disabled | 是否全局禁止选中 | `boolean` | `false` | +| disabled | 是否全部禁止选中 | `boolean` | `false` | | multiple | 是否允许多选 | `boolean` | `false` | | onChange | 选项改变时触发 | `(value: SelectorValue[], extend: { items: SelectorOption[] }) => void` | - | | options | 可选项 | `SelectorOption[]` | - | diff --git a/src/components/stepper/index.en.md b/src/components/stepper/index.en.md index fa958229da..51dd23898e 100644 --- a/src/components/stepper/index.en.md +++ b/src/components/stepper/index.en.md @@ -32,7 +32,7 @@ It is suitable for inputting and adjusting the current value within a certain ra | onChange | Callback when value is changed | `(value: number \| null) => void` | - | | onFocus | Triggered when the input get focus | `(e: React.FocusEvent) => void` | - | | parser | Parse input text into number which should work with `formatter` | `(text: string) => number` | - | 5.26.0 | -| step | Change the number of steps each time, it can be a decimal | `number` | `1` | +| step | The value to increase or decrease each time, can be a decimal | `number` | `1` | | stringMode | Set value as string to support high precision decimals. Will set `defaultValue`,`value`, `min`, `max`, `onChange` to `string` type | `boolean` | `false` | 5.27.0 | | value | Current number, controlled value | `number \| null` | - | diff --git a/src/components/stepper/index.zh.md b/src/components/stepper/index.zh.md index 1af978fe25..77832e9a80 100644 --- a/src/components/stepper/index.zh.md +++ b/src/components/stepper/index.zh.md @@ -32,7 +32,7 @@ | onChange | 变化时的回调 | `(value: number \| null) => void` | - | | onFocus | 输入框获得焦点时触发 | `(e: React.FocusEvent) => void` | - | | parser | 将输入解析为对应数字,一般配合 `formatter` 使用 | `(text: string) => number` | - | 5.26.0 | -| step | 每次改变步数,可以为小数 | `number` | `1` | +| step | 每次增加或减少的值,可以为小数 | `number` | `1` | | stringMode | 字符值模式,开启后支持高精度小数。开启后 `defaultValue`、`value`、`min`、`max`、`onChange` 等都将转换为 `string` 类型 | `boolean` | `false` | 5.27.0 | | value | 当前数,受控值 | `number \| null` | - | diff --git a/src/components/switch/index.en.md b/src/components/switch/index.en.md index bb65e4f9b3..e4f5b3e5ad 100644 --- a/src/components/switch/index.en.md +++ b/src/components/switch/index.en.md @@ -19,7 +19,7 @@ switch selector. | Name | Description | Type | Default | | --- | --- | --- | --- | -| beforeChange(deprecated) | Execute before change (Deprecated, recommend using the onChange attribute.) | `(val: boolean) => Promise` | - | +| beforeChange(deprecated) | Execute before change (Deprecated, recommend using the `onChange` attribute.) | `(val: boolean) => Promise` | - | | checked | Specify whether it is currently opened | `boolean` | `false` | | checkedText | Selected text | `ReactNode` | - | | defaultChecked | Whether to open initially | `boolean` | `false` |