-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
It looks like setting showDeclineButton to true does not cause the decline button to show up.
Here's the code I'm testing with:
<CookieBanner
className="dark:bg-gray-50 dark:text-gray-800 bg-gray-800 text-gray-50"
styles={{
dialog: {
position: 'fixed',
bottom: 0,
left: 0,
right: 0,
padding: '10px',
}
}}
statisticsDefaultChecked={true}
message="Cookie banner message"
showDeclineButton={true}
declineButtonText="Decline All"
wholeDomain={true}
onAccept = {() => {}}
onAcceptPreferences = {() => {}}
onAcceptStatistics = {() => {}}
onAcceptMarketing = {() => {}}
/>Which gives the result below:

As you can see there is no decline button.
It would be quite useful because new regulations in Europe require that "declining must be as easy as accepting".
Also let me know if I've missed something π
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels