mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-02-23 10:43:04 +01:00
npm image fixes :)
This commit is contained in:
parent
281f0a2bda
commit
e090396f4f
@ -4,7 +4,7 @@
|
||||
|
||||
A small, simple and customizable cookie consent bar for use in React applications.
|
||||
|
||||

|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
@ -73,8 +73,8 @@ On of the props (onAccept) is a function, this function will be called after the
|
||||
| buttonText | string | I understand | Text to appear on the button |
|
||||
| cookieName | string | CookieConsent | Name of the cookie used to track whether the user has agreed. |
|
||||
| onAccept | function | () => {} | Function to be called after the accept button has been clicked. |
|
||||
| style | Object |  | React styling object for the bar. |
|
||||
| buttonStyle | Object |  | React styling object for the button. |
|
||||
| style | Object |  | React styling object for the bar. |
|
||||
| buttonStyle | Object |  | React styling object for the button. |
|
||||
|
||||
|
||||
|
||||
@ -106,7 +106,7 @@ You can use `disableStyles={true}` to disable any built-in styling.
|
||||
|
||||
#### rainbows!
|
||||
|
||||

|
||||

|
||||
|
||||
If you're crazy enough you can even make a rainbow colored bar:
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
"name": "Rick van Lieshout",
|
||||
"email": "info@rickvanlieshout.com"
|
||||
},
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "A small, simple and customizable cookie consent bar for use in React applications.",
|
||||
"main": "build/index.js",
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user