@superdispatch/ui 0.50.10 → 0.50.12

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.
@@ -1108,6 +1108,7 @@ function AppDrawer(_ref) {
1108
1108
  title,
1109
1109
  subtitle,
1110
1110
  children,
1111
+ footer,
1111
1112
  open,
1112
1113
  onClose,
1113
1114
  onBack,
@@ -1145,7 +1146,9 @@ function AppDrawer(_ref) {
1145
1146
  })
1146
1147
  }), disableContentPadding ? children : /*#__PURE__*/jsxRuntime.jsx(DrawerContent, {
1147
1148
  children: children
1148
- }), (primaryAction || secondaryAction) && /*#__PURE__*/jsxRuntime.jsx(DrawerActions, {
1149
+ }), footer && /*#__PURE__*/jsxRuntime.jsx(DrawerActions, {
1150
+ children: footer
1151
+ }), (primaryAction || secondaryAction) && !footer && /*#__PURE__*/jsxRuntime.jsx(DrawerActions, {
1149
1152
  children: /*#__PURE__*/jsxRuntime.jsxs(StyledActionsLayout, {
1150
1153
  children: [primaryAction && /*#__PURE__*/jsxRuntime.jsx(Button, _objectSpread(_objectSpread({
1151
1154
  type: "button",