buttonWrapper added, npm updates done, changelog added and formatting

This commit is contained in:
2020-05-10 11:32:06 +02:00
parent 62d607d813
commit d1a1c39ef6
6 changed files with 205 additions and 220 deletions

2
build/index.d.ts vendored
View File

@@ -32,7 +32,7 @@ export interface CookieConsentProps {
disableButtonStyles?: boolean;
enableDeclineButton?: boolean;
flipButtons?: boolean;
ButtonComponent?: Function | React.ReactElement;
ButtonComponent?: React.ElementType;
}
export default class CookieConsent extends React.Component<CookieConsentProps, {}> {}