mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-01-20 18:41:44 +01:00
small update to include a class on the cookieconsent bar
This commit is contained in:
parent
e090396f4f
commit
8734798a3d
@ -810,7 +810,7 @@ var CookieConsent = function (_Component) {
|
||||
|
||||
return _react2.default.createElement(
|
||||
"div",
|
||||
{ style: myStyle },
|
||||
{ className: "cookieConsent", style: myStyle },
|
||||
this.props.children,
|
||||
_react2.default.createElement(
|
||||
"button",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"name": "Rick van Lieshout",
|
||||
"email": "info@rickvanlieshout.com"
|
||||
},
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "A small, simple and customizable cookie consent bar for use in React applications.",
|
||||
"main": "build/index.js",
|
||||
"dependencies": {
|
||||
|
@ -100,7 +100,7 @@ class CookieConsent extends Component {
|
||||
}
|
||||
|
||||
return (
|
||||
<div style={myStyle}>
|
||||
<div className="cookieConsent" style={myStyle}>
|
||||
{this.props.children}
|
||||
<button
|
||||
style={myButtonStyle}
|
||||
|
Loading…
Reference in New Issue
Block a user