@para-ui/core 2.0.21 → 2.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,7 +41,7 @@ export interface FormItemProps {
41
41
  /**
42
42
  * 输入框类型
43
43
  */
44
- InputType?: 'checkGroup' | 'select' | 'radioGroup' | 'textarea' | 'default' | 'switch' | 'file' | FC<ItemTypeProps>;
44
+ InputType?: 'checkGroup' | 'select' | 'radioGroup' | 'textarea' | 'default' | 'switch' | 'number' | 'file' | FC<ItemTypeProps>;
45
45
  /**
46
46
  * 输入框其他属性配置
47
47
  */
@@ -74,6 +74,10 @@ export interface FormItemProps {
74
74
  * 隐藏 label
75
75
  */
76
76
  hideLabel?: boolean;
77
+ /**
78
+ * 隐藏 error
79
+ */
80
+ hideError?: boolean;
77
81
  /**
78
82
  * name,一般对应后台属性,需要唯一性
79
83
  */
@@ -112,6 +116,10 @@ export interface FormItemProps {
112
116
  * 其他配置
113
117
  */
114
118
  [name: string]: any;
119
+ /**
120
+ * 自定义class
121
+ */
122
+ className?: string;
115
123
  }
116
124
  /**
117
125
  * form 表单单行组件