Fix the TypeScript definition of some properties (#143)

This commit is contained in:
Souchet Céline
2021-12-20 17:33:12 +01:00
committed by GitHub
parent 775ec9db96
commit ab046db1e8

4
src/index.d.ts vendored
View File

@@ -42,8 +42,8 @@ export interface CookieConsentProps {
ariaDeclineLabel?: string;
acceptOnScroll?: boolean;
acceptOnScrollPercentage?: number;
customContentAttributes: object;
customContainerAttributes: object;
customContentAttributes?: object;
customContainerAttributes?: object;
}
export default class CookieConsent extends React.Component<CookieConsentProps, {}> {}