Merge pull request #6 from jay-bricksoft/patch-2

final fix #1
This commit is contained in:
2018-05-01 13:17:08 +02:00
committed by GitHub

View File

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