Skip to content

Commit

Permalink
doc(Form): 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenlingasMx committed Mar 2, 2023
1 parent f29f140 commit 629a5b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/Form/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export default FormComponent;
| 参数 | 说明 | 类型 | 默认值 |
|------|------|-----|------|
| `field` | 字段名 | string | - |
| `type` | 字段类型(默认继承了react-native-uiw中的 input | textArea | slider | rate | radio | search | switch | checkBox | steppercardList ) | string | - |
| `type` | 字段类型(`input` \| `textArea` \| `slider` \| `rate` \| `radio` \| `search`\| `switch`\| `checkBox`\| `stepper`\| `cardList`) | string | - |
| `name` | 标签名 | string | - |
| `validate` | 验证规则 | RulesOption['validate'] | - |
| `options` | 集合 | Array<{ label: string; value: KeyType }> | - |
Expand Down
2 changes: 2 additions & 0 deletions packages/core/src/SearchBar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ export default Demo
| placeholder | 搜索框默认文本 | String | - |
| extra | 图标 | JSX.Element | - |
| showClear | 是否展示清除图标 | boolean | - |
| contentStyle | 容器样式 | StyleProp<`ViewStyle`> | - |


### OptionsStateProps

Expand Down

0 comments on commit 629a5b0

Please sign in to comment.