react-motion-modal 1.2.2 → 1.2.3

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/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -357,7 +357,7 @@ declare type ModalName = keyof ModalDefinition;
357
357
  *
358
358
  * @template T - The modal name type
359
359
  */
360
- export declare type ModalParams<T extends ModalName> = Pick<Params<T>, 'closeModal'>;
360
+ export declare type ModalParams<T extends ModalName> = ModalDefinition[T] & Pick<BaseModalParams, 'closeModal'>;
361
361
 
362
362
  export declare const ModalProvider: ({ modals, initialParams }: Props) => ReactPortal | null;
363
363
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-motion-modal",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",