mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 06:49:32 +08:00
docs: should not expose prefixCls to developer
This commit is contained in:
parent
1e1a3e755c
commit
2cb147f96d
@ -40,7 +40,6 @@ A form field is defined using `<Form.Item />`.
|
||||
| horizontal | Use horizontal layout. | boolean | false |
|
||||
| inline | Use inline alignment. | boolean | false |
|
||||
| onSubmit | Defines a function will be called if form data validation is successful. | Function(e:Event) | |
|
||||
| prefixCls | Set the CSS class name of form component (optional). | string | 'ant-form' |
|
||||
|
||||
### Form.create(options)
|
||||
|
||||
@ -115,7 +114,6 @@ If you use `react@<15.3.0`, then, you can't use `getFieldDecorator` in stateless
|
||||
| required | Whether provided or not, it will be generated by the validation rule. | bool | | false |
|
||||
| validateStatus | The validation status. If not provided, it will be generated by validation rule | string | 'success' 'warning' 'error' 'validating' | |
|
||||
| hasFeedback | Used with `validateStatus`, this option specifies the validation status icon. Recommended to be used only with `Input`. | bool | | false |
|
||||
| prefixCls | The CSS class name of form item (optional). | string | | 'ant-form' |
|
||||
|
||||
<style>
|
||||
.code-box-demo .ant-form-horizontal {
|
||||
|
@ -42,7 +42,6 @@ title: Form
|
||||
| horizontal | 水平排列布局 | boolean | false |
|
||||
| inline | 行内排列布局 | boolean | false |
|
||||
| onSubmit | 数据验证成功后回调事件 | Function(e:Event) | |
|
||||
| prefixCls | 样式类名,默认为 ant-form,通常您不需要设置 | string | 'ant-form' |
|
||||
|
||||
### Form.create(options)
|
||||
|
||||
@ -116,7 +115,6 @@ CustomizedForm = Form.create({})(CustomizedForm);
|
||||
| required | 是否必填,如不设置,则会根据校验规则自动生成 | bool | | false |
|
||||
| validateStatus | 校验状态,如不设置,则会根据校验规则自动生成 | string | 'success' 'warning' 'error' 'validating' | |
|
||||
| hasFeedback | 配合 validateStatus 属性使用,展示校验状态图标,建议只配合 Input 组件使用 | bool | | false |
|
||||
| prefixCls | 样式类名,默认为 ant-form,通常您不需要设置 | string | | 'ant-form' |
|
||||
|
||||
<style>
|
||||
.code-box-demo .ant-form-horizontal {
|
||||
|
Loading…
Reference in New Issue
Block a user