Skip to content

Commit 629a5b0

Browse files
committed
doc(Form): 更新文档
1 parent f29f140 commit 629a5b0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/core/src/Form/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export default FormComponent;
285285
| 参数 | 说明 | 类型 | 默认值 |
286286
|------|------|-----|------|
287287
| `field` | 字段名 | string | - |
288-
| `type` | 字段类型(默认继承了react-native-uiw中的 input | textArea | slider | rate | radio | search | switch | checkBox | steppercardList ) | string | - |
288+
| `type` | 字段类型(`input` \| `textArea` \| `slider` \| `rate` \| `radio` \| `search`\| `switch`\| `checkBox`\| `stepper`\| `cardList`) | string | - |
289289
| `name` | 标签名 | string | - |
290290
| `validate` | 验证规则 | RulesOption['validate'] | - |
291291
| `options` | 集合 | Array<{ label: string; value: KeyType }> | - |

packages/core/src/SearchBar/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ export default Demo
143143
| placeholder | 搜索框默认文本 | String | - |
144144
| extra | 图标 | JSX.Element | - |
145145
| showClear | 是否展示清除图标 | boolean | - |
146+
| contentStyle | 容器样式 | StyleProp<`ViewStyle`> | - |
147+
146148

147149
### OptionsStateProps
148150

0 commit comments

Comments
 (0)