Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-modal

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-modal - npm Package Compare versions

Comparing version 3.16.0 to 3.16.1

10

react-modal/index.d.ts

@@ -39,3 +39,3 @@ // Type definitions for react-modal 3.16

/** Indicates whether an element is modal when displayed. */
modal?: boolean | 'false' | 'true' | undefined;
modal?: boolean | "false" | "true" | undefined;
}

@@ -135,5 +135,9 @@

/* Custom Overlay element. */
overlayElement?: ((props: React.ComponentPropsWithRef<"div">, contentEl: React.ReactElement) => React.ReactElement) | undefined;
overlayElement?:
| ((props: React.ComponentPropsWithRef<"div">, contentEl: React.ReactElement) => React.ReactElement)
| undefined;
/* Custom Content element. */
contentElement?: ((props: React.ComponentPropsWithRef<"div">, children: React.ReactNode) => React.ReactElement) | undefined;
contentElement?:
| ((props: React.ComponentPropsWithRef<"div">, children: React.ReactNode) => React.ReactElement)
| undefined;

@@ -140,0 +144,0 @@ /* String value of data-test-id attibute to be applied to to the modal content. */

{
"name": "@types/react-modal",
"version": "3.16.0",
"version": "3.16.1",
"description": "TypeScript definitions for react-modal",

@@ -70,4 +70,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-modal",

},
"typesPublisherContentHash": "e262199e80913f81e2887cb043bc7cf28979a569305f3fe14bdbef3a8c511a53",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "6af37ef8e2f605250e98b671ba95d6a0ba0b51089989e9df81dbecd2afca5c96",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 19 Apr 2023 18:32:47 GMT
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +14,0 @@ * Global values: `ReactModal`

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc