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 1.6.8 to 2.2.0

18

react-modal/index.d.ts

@@ -1,7 +0,8 @@

// Type definitions for react-modal 1.6
// Type definitions for react-modal 2.2
// Project: https://github.com/reactjs/react-modal
// Definitions by: Rajab Shakirov <https://github.com/radziksh>,
// Drew Noakes <https://github.com/drewnoakes>,
// Thomas B Homburg <https://github.com/homburg>
// Tatu Tamminen <https://github.com/ttamminen>
// Thomas B Homburg <https://github.com/homburg>,
// Tatu Tamminen <https://github.com/ttamminen>,
// Uwe Wiemer <https://github.com/hallowatcher>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -14,3 +15,3 @@ // TypeScript Version: 2.3

export = ReactModal;
export default ReactModal;

@@ -33,2 +34,7 @@ declare namespace ReactModal {

interface Aria {
labelledby?: string;
describedby?: string;
}
interface Props {

@@ -63,2 +69,6 @@ /* Boolean describing if the modal should be shown or not. Defaults to false. */

parentSelector?(): HTMLElement;
/* String className to be applied to the document.body. */
bodyOpenClassName?: string;
/* Additional aria attributes. */
aria?: Aria;
}

@@ -65,0 +75,0 @@ }

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

@@ -22,2 +22,6 @@ "license": "MIT",

"url": "https://github.com/ttamminen"
},
{
"name": "Uwe Wiemer",
"url": "https://github.com/hallowatcher"
}

@@ -35,4 +39,4 @@ ],

"peerDependencies": {},
"typesPublisherContentHash": "154b67156d2a71b945be7be3c96044e2098029877a759b1367aec577b5ad90c9",
"typesPublisherContentHash": "4c8d345bb80733ac784f097bb456efb9d23a3eeef1a2b3984d5b42a3556c0103",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Mon, 17 Jul 2017 16:49:37 GMT
* Last updated: Tue, 15 Aug 2017 18:11:20 GMT
* Dependencies: react

@@ -17,2 +17,2 @@ * Global values: ReactModal

# Credits
These definitions were written by Rajab Shakirov <https://github.com/radziksh>, Drew Noakes <https://github.com/drewnoakes>, Thomas B Homburg <https://github.com/homburg>, Tatu Tamminen <https://github.com/ttamminen>.
These definitions were written by Rajab Shakirov <https://github.com/radziksh>, Drew Noakes <https://github.com/drewnoakes>, Thomas B Homburg <https://github.com/homburg>, Tatu Tamminen <https://github.com/ttamminen>, Uwe Wiemer <https://github.com/hallowatcher>.
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