reactjs-cookie-consent
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "reactjs-cookie-consent", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A simple and customizable cookie banner in React", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -6,13 +6,15 @@ # React cookie consent | ||
- Custom cookie names | ||
- Your own TTL | ||
- slide up animation | ||
- Custom TTL for the cookie | ||
- slide up animation (can be turned off) | ||
- delay before it shows up | ||
- custom icon | ||
- default icon (can be disabled) | ||
- callbacks for accept/deny clicks for additional handling | ||
- clear cookie function | ||
- get cookie value function | ||
- styling configs for all elements | ||
# Usage | ||
We will show some different usages of the component, more examples can be found on [Algobook](https://algobook.info/docs/cookie-consent). | ||
We will show some different usages of the component, much more examples can be found on [Algobook](https://algobook.info/docs/cookie-consent). | ||
@@ -73,2 +75,4 @@ ### Default | ||
More examples and explanation on [Algobook](https://algobook.info/docs/cookie-consent). | ||
# Some images and gifs | ||
@@ -75,0 +79,0 @@ |
21587
103