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

styled-react-modal

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-react-modal - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

.eslintignore

4

package.json
{
"name": "styled-react-modal",
"version": "1.2.0",
"version": "1.2.1",
"description": "A React modal built with styled-components.",

@@ -8,3 +8,3 @@ "main": "build/index.js",

"test": "jest --coverage --verbose",
"lint": "standard src/",
"lint": "standard src/ tests/ examples/",
"start": "webpack --watch",

@@ -11,0 +11,0 @@ "build": "webpack"

@@ -119,2 +119,3 @@ # Styled React Modal

z-index: 30;
opacity: ${props => props.opacity};
background-color: green;

@@ -166,3 +167,3 @@ `

- [`onEscapeKeydown`] \(Function\): A function that is called when the escape key is pressed while the modal is open.
- [`backgroundProps`] \(Object\): An props object that is spread over the `<ModalProvider />`s `backgroundComponent` when included.
- [`backgroundProps`] \(Object\): A props object that is spread over the `backgroundComponent` when included.
- [`allowScroll`] \(Boolean\): When true, scrolling in the document body is not disabled when the modal is open.

@@ -169,0 +170,0 @@ - [`beforeOpen`] \(Function\): A function that is called before the modal opens. If this function returns a promise, then the modal is opened after the promise is resolved.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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