UNPKG

@bemit/consent-ui-mui

Version:

26 lines (25 loc) 1 kB
import React from 'react'; import { Breakpoint } from '@mui/material/styles'; import { ConsentUiTrackGroupService } from '@bemit/consent-ui/ConsentUiInfo'; export interface ConsentUiBoxEmbedLabels { question: string; btnOne: string; btnAll: string; selectPrefFirstDesc: string; selectPrefFirstBtn: string; privacyBtn: string; policyLabel?: string; } export interface ConsentUiBoxEmbedProps { labels: ConsentUiBoxEmbedLabels; service: string; serviceConsent: any; setServiceConsent: React.Dispatch<React.SetStateAction<1 | 2 | undefined>>; icon?: React.ReactNode; serviceInfo?: ConsentUiTrackGroupService; title?: string | React.ReactNode; infoBtnUp?: Breakpoint | number; infoMaxWidth?: number; pos?: 'top' | 'center' | 'bottom'; } export declare const ConsentUiBoxEmbed: ({ service, serviceConsent, setServiceConsent, icon, serviceInfo, title, labels, infoBtnUp, infoMaxWidth, pos, }: ConsentUiBoxEmbedProps) => React.ReactElement;