@superdispatch/ui 0.42.0 → 0.44.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.
@@ -993,17 +993,17 @@ function AppDrawer(_ref) {
993
993
  children: children
994
994
  }), (primaryAction || secondaryAction) && /*#__PURE__*/jsxRuntime.jsx(DrawerActions, {
995
995
  children: /*#__PURE__*/jsxRuntime.jsxs(StyledActionsLayout, {
996
- children: [primaryAction && /*#__PURE__*/jsxRuntime.jsx(Button, {
996
+ children: [primaryAction && /*#__PURE__*/jsxRuntime.jsx(Button, _objectSpread(_objectSpread({
997
997
  type: "button",
998
- onClick: primaryAction.onClick,
999
- variant: "contained",
998
+ variant: "contained"
999
+ }, primaryAction), {}, {
1000
1000
  children: primaryAction.label
1001
- }), secondaryAction && /*#__PURE__*/jsxRuntime.jsx(Button, {
1001
+ })), secondaryAction && /*#__PURE__*/jsxRuntime.jsx(Button, _objectSpread(_objectSpread({
1002
1002
  type: "button",
1003
- onClick: secondaryAction.onClick,
1004
- variant: "outlined",
1003
+ variant: "outlined"
1004
+ }, secondaryAction), {}, {
1005
1005
  children: secondaryAction.label
1006
- })]
1006
+ }))]
1007
1007
  })
1008
1008
  })]
1009
1009
  });