mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-01-20 10:31:03 +01:00
add missing "hideOnDecline" prop to index.d.ts (#145)
This commit is contained in:
parent
2a1e52b24a
commit
413abc7fd8
1
src/index.d.ts
vendored
1
src/index.d.ts
vendored
@ -13,6 +13,7 @@ export interface CookieConsentProps {
|
||||
children?: React.ReactNode;
|
||||
disableStyles?: boolean;
|
||||
hideOnAccept?: boolean;
|
||||
hideOnDecline?: boolean;
|
||||
onAccept?: (acceptedByScrolling?: boolean) => void;
|
||||
onDecline?: Function;
|
||||
buttonText?: Function | React.ReactNode;
|
||||
|
Loading…
Reference in New Issue
Block a user