Skip to content

Commit c656e31

Browse files
committed
release 6.0.0
1 parent 86226df commit c656e31

File tree

7 files changed

+658
-2589
lines changed

7 files changed

+658
-2589
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
build/index.js.LICENSE.txt

build/index.d.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface CookieConsentProps {
1212
children?: React.ReactNode;
1313
disableStyles?: boolean;
1414
hideOnAccept?: boolean;
15-
onAccept?: ({ acceptedByScrolling }: { acceptedByScrolling?: boolean }) => void;
15+
onAccept?: Function;
1616
onDecline?: Function;
1717
buttonText?: Function | React.ReactNode;
1818
declineButtonText?: Function | React.ReactNode;
@@ -29,8 +29,6 @@ export interface CookieConsentProps {
2929
declineButtonClasses?: string;
3030
buttonId?: string;
3131
declineButtonId?: string;
32-
acceptOnScroll?: boolean;
33-
acceptOnScrollPercentage?: number;
3432
extraCookieOptions?: object;
3533
disableButtonStyles?: boolean;
3634
enableDeclineButton?: boolean;

0 commit comments

Comments
 (0)