@consent-manager/core
Advanced tools
Comparing version 2.0.0-next.1 to 2.0.0-next.2
import React from 'react'; | ||
import { DecisionsFormProps } from './DecisionsForm'; | ||
export interface ConsentManagerFormProps { | ||
formComponent?: React.ComponentType<DecisionsFormProps>; | ||
formComponent?: React.FC<DecisionsFormProps>; | ||
[key: string]: unknown; | ||
} | ||
export declare const ConsentManagerForm: React.FC<ConsentManagerFormProps>; |
@@ -20,5 +20,5 @@ /// <reference types="react" /> | ||
privacyPolicyUrl?: string; | ||
Icon: React.ComponentType<IntegrationIconComponentProps>; | ||
Icon: React.FC<IntegrationIconComponentProps>; | ||
pageViewEventHandler?: PageViewEventTrigger; | ||
WrapperComponent?: React.ComponentType; | ||
WrapperComponent?: React.FC; | ||
options?: IntegrationConfigOptions; | ||
@@ -25,0 +25,0 @@ enabledByDefault?: boolean; |
@@ -5,3 +5,3 @@ /// <reference types="react" /> | ||
interface ConsentManagerContextValue { | ||
fallbackComponent: React.ComponentType<FallbackComponentProps>; | ||
fallbackComponent: React.FC<FallbackComponentProps>; | ||
config: ConsentManagerConfig; | ||
@@ -8,0 +8,0 @@ store: ConsentManagerStore; |
@@ -7,3 +7,3 @@ import React, { Dispatch, SetStateAction } from 'react'; | ||
config: ConsentManagerConfig; | ||
fallbackComponent?: React.ComponentType<FallbackComponentProps>; | ||
fallbackComponent?: React.FC<FallbackComponentProps>; | ||
store: ConsentManagerStore; | ||
@@ -14,3 +14,3 @@ children: React.ReactNode; | ||
export declare function useDecision(id: IntegrationId): [boolean, Dispatch<SetStateAction<boolean>>]; | ||
export declare function useFallbackComponent(): React.ComponentType<FallbackComponentProps>; | ||
export declare function useFallbackComponent(): React.FC<FallbackComponentProps>; | ||
export interface PrivacyShieldProps { | ||
@@ -17,0 +17,0 @@ id: IntegrationId; |
@@ -8,2 +8,2 @@ import { Dispatch, SetStateAction } from 'react'; | ||
} | ||
export declare type ConsentManagerStore<S = ConsentManagerStorageState> = [S, Dispatch<SetStateAction<S>>]; | ||
export declare type ConsentManagerStore<S = ConsentManagerStorageState> = [S | undefined, Dispatch<SetStateAction<S | undefined>>]; |
{ | ||
"name": "@consent-manager/core", | ||
"version": "2.0.0-next.1", | ||
"version": "2.0.0-next.2", | ||
"description": "Get proper consent before tracking and processing data of your visitors via consent-manager. Supports you to get your website GDPR and CCPA compliant.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
128928