mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-05-10 07:13:47 +02:00
updated package
This commit is contained in:
parent
72743353a0
commit
2b75d87daa
3396
package-lock.json
generated
3396
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,7 @@
|
|||||||
"homepage": "https://mastermindzh.github.io/react-cookie-consent",
|
"homepage": "https://mastermindzh.github.io/react-cookie-consent",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^16.4.0",
|
"react": "^16.4.0",
|
||||||
"react-cookie-consent": "^2.0.1",
|
"react-cookie-consent": "^2.3.0",
|
||||||
"react-dom": "^16.4.0",
|
"react-dom": "^16.4.0",
|
||||||
"react-scripts": "1.1.4"
|
"react-scripts": "1.1.4"
|
||||||
},
|
},
|
||||||
|
@ -25,6 +25,9 @@ class App extends Component {
|
|||||||
<CookieConsent
|
<CookieConsent
|
||||||
onAccept={() => {alert("yay!")}}
|
onAccept={() => {alert("yay!")}}
|
||||||
debug={true}
|
debug={true}
|
||||||
|
enableDeclineButton
|
||||||
|
declineButtonText="Decline (optional)"
|
||||||
|
onDecline={() => {alert("nay!")}}
|
||||||
>
|
>
|
||||||
This website uses cookies to enhance the user experience.{" "}
|
This website uses cookies to enhance the user experience.{" "}
|
||||||
<span style={{ fontSize: "10px" }}>
|
<span style={{ fontSize: "10px" }}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user