UNPKG

@bemit/consent-ui-mui

Version:

30 lines (29 loc) 1.25 kB
import React from 'react'; import { ConsentUiDefinition, ConsentUiPrefersState, ConsentUiTrackGroup, ConsentUiTrackGroupService } from '@bemit/consent-ui/ConsentUiInfo'; import { ConsentUiBoxLabels } from '@bemit/consent-ui-mui/ConsentUiBox'; export declare const ConsentUiBoxGroup: React.ComponentType<{ group: ConsentUiTrackGroup; services: ConsentUiTrackGroupService[]; policies: ConsentUiDefinition['policies']; groupPrefer: undefined | 1 | 2; servicesPrefer: ConsentUiPrefersState['services']; nextServicesPrefer: ConsentUiPrefersState['services']; toggleGroup: (group: string) => void; toggleService: (service: string) => void; labels: ConsentUiBoxLabels; e2e?: boolean; }>; export declare const ConsentUiBoxGroupService: React.ComponentType<{ service: ConsentUiTrackGroupService; policies: ConsentUiDefinition['policies']; servicesPrefer: ConsentUiPrefersState['services']; toggleService: (service: string) => void; inheritsActive: boolean; isLast: boolean; labels: ConsentUiBoxLabels; e2e?: boolean; }>; export declare const ConsentUiBoxGroupServiceStoreEntry: React.ComponentType<{ stores: ConsentUiTrackGroupService['stores']; labels: ConsentUiBoxLabels; }>;