@cloudtower/eagle 0.35.9 → 490.0.0

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.
@@ -48,6 +48,7 @@ const AddRowButton = (props) => {
48
48
  text,
49
49
  extraAction
50
50
  },
51
+ style,
51
52
  columns,
52
53
  addData,
53
54
  data
@@ -81,7 +82,7 @@ const AddRowButton = (props) => {
81
82
  if (!columns.length) {
82
83
  return null;
83
84
  }
84
- return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues({}, props)) : /* @__PURE__ */ React__default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__default.createElement(
85
+ return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues({}, props)) : /* @__PURE__ */ React__default.createElement(AddRowButtonWrapper, { className, style }, /* @__PURE__ */ React__default.createElement(
85
86
  Button,
86
87
  __spreadProps(__spreadValues({}, restButtonProps), {
87
88
  type: restButtonProps.type || "ordinary",
@@ -191,6 +191,7 @@ const TableForm = React__default.forwardRef(
191
191
  ), (rowAddConfig == null ? void 0 : rowAddConfig.addible) ? /* @__PURE__ */ React__default.createElement(
192
192
  AddRowButton,
193
193
  {
194
+ style: { marginTop: hideEmptyTable && !data.length ? 0 : 8 },
194
195
  config: rowAddConfig,
195
196
  addData,
196
197
  columns,