@sinco/react 1.0.11-rc.2 → 1.0.11-rc.3

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -17195,7 +17195,7 @@ const stylesDrawerActions = {
17195
17195
  };
17196
17196
  const DrawerComponent = ({
17197
17197
  title,
17198
- content,
17198
+ children,
17199
17199
  actions,
17200
17200
  position,
17201
17201
  open,
@@ -17225,7 +17225,7 @@ const DrawerComponent = ({
17225
17225
  })))), /*#__PURE__*/React__default.createElement(Box$2, {
17226
17226
  onClick: handleDrawerAcciones,
17227
17227
  sx: stylesDrawerContent
17228
- }, content), stateActions && /*#__PURE__*/React__default.createElement(Box$2, {
17228
+ }, children), stateActions && /*#__PURE__*/React__default.createElement(Box$2, {
17229
17229
  sx: stylesDrawerActions
17230
17230
  }, actions))));
17231
17231
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.11-rc.2",
3
+ "version": "1.0.11-rc.3",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -2,10 +2,10 @@ import { ReactNode } from 'react';
2
2
  export type handleDrawerPosition = 'left' | 'right';
3
3
  export interface DrawerComponentProperties {
4
4
  title: string;
5
- content: ReactNode;
5
+ children: ReactNode;
6
6
  actions: ReactNode;
7
7
  position?: handleDrawerPosition;
8
8
  open: boolean;
9
9
  onClose: () => void;
10
10
  }
11
- export declare const DrawerComponent: ({ title, content, actions, position, open, onClose, }: DrawerComponentProperties) => JSX.Element;
11
+ export declare const DrawerComponent: ({ title, children, actions, position, open, onClose, }: DrawerComponentProperties) => JSX.Element;