A cookie-banner component with React
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 |