mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-01-20 18:41:44 +01:00
version bump, added npm version to the example and published as 1.0.6 to npm
This commit is contained in:
parent
79421b2b0c
commit
28de87fef0
@ -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.oneOf([_propTypes2.default.string, _propTypes2.default.func]),
|
buttonText: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.func]),
|
||||||
cookieName: _propTypes2.default.string
|
cookieName: _propTypes2.default.string
|
||||||
};
|
};
|
||||||
CookieConsent.defaultProps = {
|
CookieConsent.defaultProps = {
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^16.2.0",
|
"react": "^16.2.0",
|
||||||
|
"react-cookie-consent": "^1.0.5",
|
||||||
"react-dom": "^16.2.0",
|
"react-dom": "^16.2.0",
|
||||||
"react-scripts": "1.1.0"
|
"react-scripts": "1.1.0"
|
||||||
},
|
},
|
||||||
@ -13,4 +14,4 @@
|
|||||||
"test": "react-scripts test --env=jsdom",
|
"test": "react-scripts test --env=jsdom",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"name": "Rick van Lieshout",
|
"name": "Rick van Lieshout",
|
||||||
"email": "info@rickvanlieshout.com"
|
"email": "info@rickvanlieshout.com"
|
||||||
},
|
},
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user