fix PR, bump version, build, publish :)

This commit is contained in:
Rick van Lieshout 2018-05-01 11:13:21 +02:00
parent 14437dd87c
commit 1d9e1a5863
3 changed files with 3 additions and 3 deletions

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.string, buttonText: _propTypes2.default.oneOf([_propTypes2.default.string, _propTypes2.default.func]),
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.4", "version": "1.0.5",
"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": {

View File

@ -123,7 +123,7 @@ CookieConsent.propTypes = {
children: PropTypes.any, // eslint-disable-line react/forbid-prop-types children: PropTypes.any, // eslint-disable-line react/forbid-prop-types
disableStyles: PropTypes.bool, disableStyles: PropTypes.bool,
onAccept: PropTypes.func, onAccept: PropTypes.func,
buttonText: PropTypes.oneOf([PropTypes.string,PropTypes.func]) buttonText: PropTypes.oneOf([PropTypes.string,PropTypes.func]),
cookieName: PropTypes.string cookieName: PropTypes.string
}; };
CookieConsent.defaultProps = { CookieConsent.defaultProps = {