version bump, added npm version to the example and published as 1.0.6 to npm

This commit is contained in:
2018-05-01 11:37:27 +02:00
parent 79421b2b0c
commit 28de87fef0
3 changed files with 4 additions and 3 deletions

View File

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