add missing "hideOnDecline" prop to index.d.ts (#145)

This commit is contained in:
Ron Braha 2021-12-28 06:07:49 -05:00 committed by GitHub
parent 2a1e52b24a
commit 413abc7fd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
src/index.d.ts vendored
View File

@ -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;