From 249cb44461126d7e4cb75ea766ebdb6819dd47a9 Mon Sep 17 00:00:00 2001 From: Rick van Lieshout Date: Tue, 1 May 2018 13:21:47 +0200 Subject: [PATCH] versionbump on npm.js --- README.md | 3 +++ build/index.js | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f2f8765..106900a 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ A small, simple and customizable cookie consent bar for use in React application ![default look](https://raw.githubusercontent.com/Mastermindzh/react-cookie-consent/master/images/default.png) + ## Installation ``` @@ -16,6 +17,8 @@ or use yarn: yarn add react-cookie-consent ``` +More details on [npmjs](https://www.npmjs.com/package/react-cookie-consent). + ## Using it You can import the cookie bar like this: diff --git a/build/index.js b/build/index.js index 51a43d2..007ff4c 100644 --- a/build/index.js +++ b/build/index.js @@ -837,7 +837,7 @@ CookieConsent.propTypes = { children: _propTypes2.default.any, // eslint-disable-line react/forbid-prop-types disableStyles: _propTypes2.default.bool, onAccept: _propTypes2.default.func, - buttonText: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.func]), + buttonText: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.func, _propTypes2.default.element]), cookieName: _propTypes2.default.string }; CookieConsent.defaultProps = { diff --git a/package.json b/package.json index 1b0fbe5..35f0beb 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "name": "Rick van Lieshout", "email": "info@rickvanlieshout.com" }, - "version": "1.0.6", + "version": "1.0.7", "description": "A small, simple and customizable cookie consent bar for use in React applications.", "main": "build/index.js", "dependencies": {