From ab046db1e8ba1d330c56a2636e1bab2277ce8a1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souchet=20C=C3=A9line?= <4921914+csouchet@users.noreply.github.com> Date: Mon, 20 Dec 2021 17:33:12 +0100 Subject: [PATCH] Fix the TypeScript definition of some properties (#143) --- src/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index 27d571b..83fe353 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -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 {}