Skip to content

ConsentProviderProps

type ConsentProviderProps = {
applyEffects: boolean;
children: ReactNode;
config: ConsentConfig;
jurisdiction: Jurisdiction;
};

Defined in: provider.tsx:5

Type declaration

NameTypeDescriptionDefined in
applyEffects?booleanDisable script-rewriting + Consent Mode v2 side effects.provider.tsx:14
childrenReactNode-provider.tsx:15
configConsentConfig-provider.tsx:6
jurisdiction?JurisdictionActive jurisdiction. If config.jurisdiction is a Jurisdiction object, pass that. If it’s 'auto', resolve it server-side or via resolveJurisdictionByCountry and pass the result here.provider.tsx:12