react-cookie-consent
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "A small, simple and customizable cookie consent bar for use in React applications.", | ||
@@ -10,0 +10,0 @@ "main": "build/index.js", |
@@ -323,8 +323,8 @@ import React, { Component } from "react"; | ||
const OverlayWrapper = !overlay | ||
? (props) => <React.Fragment {...props} /> | ||
: (props) => <div {...props} />; | ||
const Wrapper = !overlay | ||
? (props) => <div {...props} /> | ||
: (props) => <div {...props} style={myOverlayStyle} className={overlayClasses} />; | ||
return ( | ||
<OverlayWrapper style={myOverlayStyle} className={overlayClasses}> | ||
<Wrapper> | ||
<div className={`${containerClasses}`} style={myStyle}> | ||
@@ -340,3 +340,3 @@ <div style={myContentStyle} className={contentClasses}> | ||
</div> | ||
</OverlayWrapper> | ||
</Wrapper> | ||
); | ||
@@ -343,0 +343,0 @@ } |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
225581
2844