@sinco/react 1.0.15-rc.19 → 1.0.15-rc.20

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.
Files changed (2) hide show
  1. package/index.js +5 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -16609,7 +16609,7 @@ const DrawerComponent = ({
16609
16609
  children,
16610
16610
  renderActions,
16611
16611
  showActions,
16612
- anchor,
16612
+ anchor: _anchor = 'left',
16613
16613
  width,
16614
16614
  open,
16615
16615
  onClose,
@@ -16619,13 +16619,13 @@ const DrawerComponent = ({
16619
16619
  const handleDrawerActions = () => {
16620
16620
  setActionsState(true);
16621
16621
  };
16622
- const borderStyles = anchor === 'left' ? {
16623
- borderTopRightRadius: '4px'
16624
- } : {
16622
+ const borderStyles = _anchor === 'right' ? {
16625
16623
  borderTopLeftRadius: '4px'
16624
+ } : {
16625
+ borderTopRightRadius: '4px'
16626
16626
  };
16627
16627
  return /*#__PURE__*/React__default.createElement(Drawer$1, {
16628
- anchor: anchor,
16628
+ anchor: _anchor,
16629
16629
  open: open,
16630
16630
  onClose: onClose,
16631
16631
  sx: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.15-rc.19",
3
+ "version": "1.0.15-rc.20",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",