Socket
Socket
Sign inDemoInstall

react-modal-global

Package Overview
Dependencies
4
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

2

dist/index.d.ts

@@ -197,4 +197,4 @@ import EventEmitter from 'eventemitter3';

*/
declare function useModalContext<T>(): any;
declare function useModalContext<T>(): ModalWindow<T extends ModalComponent<infer Props> ? Props : T>;
export { Modal, ModalContainer, ModalController, useModalContext };
{
"name": "react-modal-global",
"version": "1.2.0",
"version": "1.2.1",
"description": "Highly reusable React Modal that can be run from useEffect.",

@@ -5,0 +5,0 @@ "main": "dist/index.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc