react-motion-modal 1.0.0 → 1.0.2

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
@@ -65,13 +65,14 @@ export declare type ModalName = keyof ModalStackParams;
65
65
 
66
66
  export declare type ModalParams<T extends ModalName> = ModalStackParams[T] & BaseModalParams;
67
67
 
68
- export declare const ModalProvider: ({ modals }: Props) => ReactPortal | null;
68
+ export declare const ModalProvider: ({ modals, initialParams }: Props) => ReactPortal | null;
69
69
 
70
70
  export declare interface ModalStackParams {
71
71
  }
72
72
 
73
73
  declare type Props = {
74
74
  modals: ModalConfig;
75
+ initialParams?: BaseModalParams;
75
76
  };
76
77
 
77
78
  declare type State = {