mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-08-01 07:04:34 +02:00
version bump and build
This commit is contained in:
@@ -725,7 +725,9 @@ var CookieConsent = function (_Component) {
|
||||
}(_react.Component);
|
||||
|
||||
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,
|
||||
buttonStyle: _propTypes2.default.object,
|
||||
contentStyle: _propTypes2.default.object,
|
||||
|
Reference in New Issue
Block a user