@slashid/react
Version:
React SDK for the /id platform
9 lines • 567 B
TypeScript
import { GDPRConsent } from "@slashid/slashid";
import { GDPRConsentDialogProps, UpdateGdprConsent } from "./types";
type Props = GDPRConsentDialogProps & {
consents: GDPRConsent[];
updateGdprConsent: UpdateGdprConsent;
};
export declare const ConsentDialog: ({ consents, updateGdprConsent, className, triggerClassName, onSuccess, onError, container, necessaryCookiesRequired, defaultAcceptAllLevels, defaultRejectAllLevels, forceConsent, forceOpen, }: Props) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=consent-dialog.d.ts.map