mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-02-23 18:54:04 +01:00
final fix #1
This commit is contained in:
parent
28de87fef0
commit
cb3e504be1
@ -123,7 +123,7 @@ CookieConsent.propTypes = {
|
|||||||
children: PropTypes.any, // eslint-disable-line react/forbid-prop-types
|
children: PropTypes.any, // eslint-disable-line react/forbid-prop-types
|
||||||
disableStyles: PropTypes.bool,
|
disableStyles: PropTypes.bool,
|
||||||
onAccept: PropTypes.func,
|
onAccept: PropTypes.func,
|
||||||
buttonText: PropTypes.oneOfType([PropTypes.string,PropTypes.func]),
|
buttonText: PropTypes.oneOfType([PropTypes.string,PropTypes.func,PropTypes.element]),
|
||||||
cookieName: PropTypes.string
|
cookieName: PropTypes.string
|
||||||
};
|
};
|
||||||
CookieConsent.defaultProps = {
|
CookieConsent.defaultProps = {
|
||||||
|
Loading…
Reference in New Issue
Block a user