@mateosuarezdev/react-ui 1.0.35 → 1.0.37

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/index.d.ts CHANGED
@@ -680,7 +680,7 @@ declare type SpinnerProps = {
680
680
  spinnerClassName?: string;
681
681
  };
682
682
 
683
- export declare const SuperModal: ({ id, prevPath, withDelay, title, description, showHeader, mode, onReplace, className, contentClassName, children, }: SuperModalProps) => JSX.Element;
683
+ export declare const SuperModal: ({ id, prevPath, withDelay, withPortal, title, description, showHeader, mode, onReplace, className, contentClassName, children, }: SuperModalProps) => JSX.Element;
684
684
 
685
685
  declare type SuperModalProps = {
686
686
  id: string;
@@ -691,6 +691,11 @@ declare type SuperModalProps = {
691
691
  * rendering and entering animation
692
692
  */
693
693
  withDelay?: boolean;
694
+ /**
695
+ * If use or not portal, usually not needed
696
+ * on my app like router
697
+ */
698
+ withPortal?: boolean;
694
699
  title?: string;
695
700
  description?: string;
696
701
  showHeader?: boolean;