mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-01-21 02:50:58 +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(
|
return _react2.default.createElement(
|
||||||
"div",
|
"div",
|
||||||
{ style: myStyle },
|
{ className: "cookieConsent", style: myStyle },
|
||||||
this.props.children,
|
this.props.children,
|
||||||
_react2.default.createElement(
|
_react2.default.createElement(
|
||||||
"button",
|
"button",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"name": "Rick van Lieshout",
|
"name": "Rick van Lieshout",
|
||||||
"email": "info@rickvanlieshout.com"
|
"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.",
|
"description": "A small, simple and customizable cookie consent bar for use in React applications.",
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -100,7 +100,7 @@ class CookieConsent extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={myStyle}>
|
<div className="cookieConsent" style={myStyle}>
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
<button
|
<button
|
||||||
style={myButtonStyle}
|
style={myButtonStyle}
|
||||||
|
Loading…
Reference in New Issue
Block a user