From 8734798a3ddf4336f7d6bcfa7d364bc142dcfa31 Mon Sep 17 00:00:00 2001 From: mastermindzh Date: Fri, 2 Feb 2018 19:41:50 +0100 Subject: [PATCH] small update to include a class on the cookieconsent bar --- build/index.js | 2 +- package.json | 2 +- src/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/index.js b/build/index.js index 5c5bbff..0ae523c 100644 --- a/build/index.js +++ b/build/index.js @@ -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", diff --git a/package.json b/package.json index 2dde0c8..f2cae2c 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/index.js b/src/index.js index c8c80e9..0b7cacd 100644 --- a/src/index.js +++ b/src/index.js @@ -100,7 +100,7 @@ class CookieConsent extends Component { } return ( -
+
{this.props.children}