Skip to content

Commit

Permalink
release $npm_package_version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastermindzh committed Aug 11, 2021
1 parent 6962002 commit a19649b
Show file tree
Hide file tree
Showing 6 changed files with 648 additions and 612 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Added the (optional) scrolling effect back in as it is declared legal in some countries now.

## [6.2.4]

- version bumps :)

## [[6.2.3](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/6.2.3)]

- Added support for IE11, the webpack generated runtime-code should not use arrow functions
Expand Down
4 changes: 3 additions & 1 deletion build/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface CookieConsentProps {
children?: React.ReactNode;
disableStyles?: boolean;
hideOnAccept?: boolean;
onAccept?: Function;
onAccept?: (acceptedByScrolling?: boolean) => void;
onDecline?: Function;
buttonText?: Function | React.ReactNode;
declineButtonText?: Function | React.ReactNode;
Expand All @@ -39,6 +39,8 @@ export interface CookieConsentProps {
overlayStyle?: object;
ariaAcceptLabel?: string;
ariaDeclineLabel?: string;
acceptOnScroll?: boolean;
acceptOnScrollPercentage?: number;
}

export default class CookieConsent extends React.Component<CookieConsentProps, {}> {}
Expand Down
Loading

0 comments on commit a19649b

Please sign in to comment.