@teamias/rex-design 0.0.33 → 0.0.34

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.
@@ -1,4 +1,4 @@
1
- var _excluded = ["valueType", "label", "defaultValue", "childWidths", "fieldProps", "formItemProps"],
1
+ var _excluded = ["valueType", "label", "defaultValue", "childWidths", "fieldProps", "formItemProps", "params", "defaultParams"],
2
2
  _excluded2 = ["formItemProps", "fieldProps"],
3
3
  _excluded3 = ["formItemProps", "fieldProps", "name"],
4
4
  _excluded4 = ["formItemProps", "fieldProps"],
@@ -77,6 +77,8 @@ export var renderComponentNode = function renderComponentNode(outConfig, values,
77
77
  childWidths = _outConfig$item$child === void 0 ? [] : _outConfig$item$child,
78
78
  rawFieldProps = _outConfig$item.fieldProps,
79
79
  rawFormItemProps = _outConfig$item.formItemProps,
80
+ params = _outConfig$item.params,
81
+ defaultParams = _outConfig$item.defaultParams,
80
82
  otherProps = _objectWithoutProperties(_outConfig$item, _excluded),
81
83
  requestOptions = outConfig.requestOptions,
82
84
  itemWidth = outConfig.itemWidth,
@@ -54,7 +54,7 @@ export interface IBaseFormFieldItem<T extends TValueType = TValueType> {
54
54
  /** 必填项 */
55
55
  required?: boolean;
56
56
  /** 文案 */
57
- label?: string;
57
+ label?: string | ReactNode;
58
58
  /**
59
59
  * 单一组件,组合组件
60
60
  * - valueType = multipleComponents 类型的时候不需要
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamias/rex-design",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",