@bemit/consent-ui-react
Version:
7 lines (6 loc) • 338 B
TypeScript
import { ConsentUiPrefersState } from '@bemit/consent-ui/ConsentUiInfo';
export declare const usePreferState: (userPrefers: ConsentUiPrefersState | undefined, prefersInitial: ConsentUiPrefersState) => {
nextUserPrefers: ConsentUiPrefersState;
toggleGroup: (group: string) => void;
toggleService: (service: string) => void;
};