https://github.com/mikeludemann/react-cookie-banner
A cookie-banner component with React
https://github.com/mikeludemann/react-cookie-banner
bootstrap cookie cookie-banner cookie-consent react
Last synced: 3 months ago
JSON representation
A cookie-banner component with React
- Host: GitHub
- URL: https://github.com/mikeludemann/react-cookie-banner
- Owner: mikeludemann
- License: mit
- Created: 2019-11-20T17:14:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-21T15:28:17.000Z (over 6 years ago)
- Last Synced: 2025-03-28T02:48:27.140Z (over 1 year ago)
- Topics: bootstrap, cookie, cookie-banner, cookie-consent, react
- Language: JavaScript
- Size: 174 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Cookie Banner
A cookie-banner component with React
## Properties
### CookieBanner
|Name|Description|Type|
|:---|:----------|:---|
|nameCookie|Name of the cookie for this banner|String|
|activeDays|Count of days for the active state|Number|
|color|Color for this content|String|
|bgcolor|Background Color for this content|String|
|colorhover|Hover Color for the buttons|String|
|bgcolorhover|Hover Background Color for the buttons|String|
|message|Message text for the cookie banner|String|
|dataSecurityLink|Link to the data security site|String|
|dataSecurity|Text to the data security button|String|
|accept|Text to the accept button|String|
|position|Position of the cookie banner - ["top","bottom"]|String|