mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-09-19 22:59:25 +02:00
Added to add custom properties to the decline button
This commit is contained in:
@@ -184,6 +184,7 @@ That option would be interesting if you want to allow user to change their conse
|
||||
| onOverlayClick | function | `() => {}` | allows you to react to a click on the overlay |
|
||||
| acceptOnOverlayClick | boolean | false | Determines whether the cookies should be accepted after clicking on the overlay |
|
||||
| customButtonProps | object | `{}` | Allows you to set custom props on the button component |
|
||||
| customDeclineButtonProps | object | `{}` | Allows you to set custom props on the decline button component |
|
||||
|
||||
## Debugging it
|
||||
|
||||
|
Reference in New Issue
Block a user