versionbump on npm.js

This commit is contained in:
Rick van Lieshout 2018-05-01 13:21:47 +02:00
parent 8d0a7b2719
commit 249cb44461
3 changed files with 5 additions and 2 deletions

View File

@ -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) ![default look](https://raw.githubusercontent.com/Mastermindzh/react-cookie-consent/master/images/default.png)
## Installation ## Installation
``` ```
@ -16,6 +17,8 @@ or use yarn:
yarn add react-cookie-consent yarn add react-cookie-consent
``` ```
More details on [npmjs](https://www.npmjs.com/package/react-cookie-consent).
## Using it ## Using it
You can import the cookie bar like this: You can import the cookie bar like this:

View File

@ -837,7 +837,7 @@ CookieConsent.propTypes = {
children: _propTypes2.default.any, // eslint-disable-line react/forbid-prop-types children: _propTypes2.default.any, // eslint-disable-line react/forbid-prop-types
disableStyles: _propTypes2.default.bool, disableStyles: _propTypes2.default.bool,
onAccept: _propTypes2.default.func, 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 cookieName: _propTypes2.default.string
}; };
CookieConsent.defaultProps = { CookieConsent.defaultProps = {

View File

@ -4,7 +4,7 @@
"name": "Rick van Lieshout", "name": "Rick van Lieshout",
"email": "info@rickvanlieshout.com" "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.", "description": "A small, simple and customizable cookie consent bar for use in React applications.",
"main": "build/index.js", "main": "build/index.js",
"dependencies": { "dependencies": {