react-magma-dom 4.10.0-next.24 → 4.10.0-next.25

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.
@@ -16389,8 +16389,7 @@ var Drawer = /*#__PURE__*/React.forwardRef(function (props, _ref) {
16389
16389
  isAnimated = _props$isAnimated === void 0 ? false : _props$isAnimated,
16390
16390
  rest = _objectWithoutPropertiesLoose(props, _excluded$1G);
16391
16391
  var theme = React.useContext(ThemeContext);
16392
- var drawerPosition = position != null ? position : exports.DrawerPosition.top;
16393
- var drawerStyle = _extends({}, theme.drawer["default"], theme.drawer[drawerPosition]);
16392
+ var drawerStyle = _extends({}, theme.drawer["default"], theme.drawer[exports.DrawerPosition[position]]);
16394
16393
  var containerTransition;
16395
16394
  if (isAnimated) {
16396
16395
  containerTransition = position ? transitionPreset[exports.DrawerPosition[position]] : transitionPreset[exports.DrawerPosition[exports.DrawerPosition.top]];