react-cookie-consent
Advanced tools
Comparing version 7.1.0 to 7.1.1
@@ -45,4 +45,4 @@ import * as React from "react"; | ||
acceptOnScrollPercentage?: number; | ||
customContentAttributes: object; | ||
customContainerAttributes: object; | ||
customContentAttributes?: object; | ||
customContainerAttributes?: object; | ||
} | ||
@@ -49,0 +49,0 @@ |
@@ -8,2 +8,6 @@ # Changelog | ||
## [[7.1.1]](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/7.1.0) | ||
- `customContentAttributes` and `customContainerAttributes` are now optional in the typing file as they should be | ||
## [[7.1.0](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/7.1.0)] | ||
@@ -10,0 +14,0 @@ |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"description": "A small, simple and customizable cookie consent bar for use in React applications.", | ||
@@ -10,0 +10,0 @@ "main": "build/index.js", |
@@ -182,7 +182,5 @@ # :cookie: react-cookie-consent :cookie: | ||
| acceptOnScrollPercentage | number | 25 | Percentage of the page height the user has to scroll to trigger the accept function if acceptOnScroll is enabled | | ||
| customContentAttributes | object | `{}` | Allows you to set custom (data) attributes on the content div | | ||
| customContainerAttributes | object | `{}` | Allows you to set custom (data) attributes on the container div | | ||
| customContentAttributes | ||
| object | {} | Allows you to set custom (data) attributes on the content div | | ||
| customContainerAttributes | object | {} | Allows you to set custom (data) attributes on the container div | | ||
## Debugging it | ||
@@ -189,0 +187,0 @@ |
@@ -45,4 +45,4 @@ import * as React from "react"; | ||
acceptOnScrollPercentage?: number; | ||
customContentAttributes: object; | ||
customContainerAttributes: object; | ||
customContentAttributes?: object; | ||
customContainerAttributes?: object; | ||
} | ||
@@ -49,0 +49,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
175893
358