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.
package/dist/esm/index.js CHANGED
@@ -20171,8 +20171,7 @@ var Drawer = /*#__PURE__*/forwardRef(function (props, _ref) {
20171
20171
  isAnimated = _props$isAnimated === void 0 ? false : _props$isAnimated,
20172
20172
  rest = _objectWithoutPropertiesLoose(props, _excluded$1G);
20173
20173
  var theme = useContext(ThemeContext);
20174
- var drawerPosition = position != null ? position : DrawerPosition.top;
20175
- var drawerStyle = _extends({}, theme.drawer["default"], theme.drawer[drawerPosition]);
20174
+ var drawerStyle = _extends({}, theme.drawer["default"], theme.drawer[DrawerPosition[position]]);
20176
20175
  var containerTransition;
20177
20176
  if (isAnimated) {
20178
20177
  containerTransition = position ? transitionPreset[DrawerPosition[position]] : transitionPreset[DrawerPosition[DrawerPosition.top]];