made CookieConsent the default containerClass

This commit is contained in:
Rick van Lieshout 2020-05-11 08:33:38 +02:00
parent d1a1c39ef6
commit 900d724ea5
2 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [4.1.0]
### changed
- Added CookieConsent back in as the default for the containerClasses property.
## [4.0.0]
I decided to update react-cookie-consent to version 4 because this version has a

View File

@ -325,7 +325,7 @@ CookieConsent.defaultProps = {
declineButtonText: "I decline",
debug: false,
expires: 365,
containerClasses: "",
containerClasses: "CookieConsent",
contentClasses: "",
buttonClasses: "",
buttonWrapperClasses: "",