mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-01-20 18:41:44 +01:00
version bump and build
This commit is contained in:
parent
38b8d752bb
commit
27833943f0
@ -725,7 +725,9 @@ var CookieConsent = function (_Component) {
|
|||||||
}(_react.Component);
|
}(_react.Component);
|
||||||
|
|
||||||
CookieConsent.propTypes = {
|
CookieConsent.propTypes = {
|
||||||
location: _propTypes2.default.oneOf(Object.values(OPTIONS)),
|
location: _propTypes2.default.oneOf(Object.keys(OPTIONS).map(function (key) {
|
||||||
|
return OPTIONS[key];
|
||||||
|
})),
|
||||||
style: _propTypes2.default.object,
|
style: _propTypes2.default.object,
|
||||||
buttonStyle: _propTypes2.default.object,
|
buttonStyle: _propTypes2.default.object,
|
||||||
contentStyle: _propTypes2.default.object,
|
contentStyle: _propTypes2.default.object,
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"name": "Rick van Lieshout",
|
"name": "Rick van Lieshout",
|
||||||
"email": "info@rickvanlieshout.com"
|
"email": "info@rickvanlieshout.com"
|
||||||
},
|
},
|
||||||
"version": "1.6.0",
|
"version": "1.6.1",
|
||||||
"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": {
|
||||||
|
@ -169,7 +169,7 @@ class CookieConsent extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CookieConsent.propTypes = {
|
CookieConsent.propTypes = {
|
||||||
location: PropTypes.oneOf(Object.values(OPTIONS)),
|
location: PropTypes.oneOf(Object.keys(OPTIONS).map(key => OPTIONS[key])),
|
||||||
style: PropTypes.object,
|
style: PropTypes.object,
|
||||||
buttonStyle: PropTypes.object,
|
buttonStyle: PropTypes.object,
|
||||||
contentStyle: PropTypes.object,
|
contentStyle: PropTypes.object,
|
||||||
|
Loading…
Reference in New Issue
Block a user