We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17cf63b commit c744dc7Copy full SHA for c744dc7
src/index.tsx
@@ -30,10 +30,9 @@ export interface CookieConsentProviderProps {
30
useCookieConsentHooksOptions?: CookieConsentOptions;
31
}
32
33
-export const CookieConsentProvider: FC<CookieConsentProviderProps> = ({
34
- useCookieConsentHooksOptions,
35
- children,
36
-}) => {
+export const CookieConsentProvider: FC<
+ React.PropsWithChildren<CookieConsentProviderProps>
+> = ({ useCookieConsentHooksOptions, children }) => {
37
CookieConsentContext.Consumer;
38
const {
39
consent,
0 commit comments