UNPKG

@tantainnovative/ndpr-toolkit

Version:

Nigerian Data Protection Compliance Toolkit for implementing NDPR and DPA compliant features

12 lines 501 B
/** * Hook to access only the consent actions without state */ export declare function useConsentActions(): { acceptAll: () => void; rejectAll: () => void; savePreferences: (preferences: Partial<import("@/contexts/ConsentContext").ConsentCategories>) => void; openSettings: () => void; closeSettings: () => void; updateConsent: (category: keyof import("@/contexts/ConsentContext").ConsentCategories, value: boolean) => void; }; //# sourceMappingURL=useConsentActions.d.ts.map