Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 17, 2024
1 parent f314423 commit c2d4d34
Show file tree
Hide file tree
Showing 21 changed files with 9,801 additions and 9,782 deletions.
3 changes: 2 additions & 1 deletion consentManagement/createConsentManagement.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type ReactNode } from "react";
import type { ExtractFinalityFromFinalityDescription } from "./types";
import type { RegisteredLinkProps } from "../link";
import { type ConsentCallback } from "./processConsentChanges";
export declare const localStorageKeyPrefix = "@codegouvfr/react-dsfr finalityConsent";
export declare const defaultLocalStorageKeyPrefix = "@codegouvfr/react-dsfr finalityConsent";
export declare function createConsentManagement<FinalityDescription extends Record<string, {
title: ReactNode;
description?: ReactNode;
Expand All @@ -14,6 +14,7 @@ export declare function createConsentManagement<FinalityDescription extends Reco
consentCallback?: ConsentCallback<ExtractFinalityFromFinalityDescription<FinalityDescription>>;
/** Optional: If you have a dedicated page that provides comprehensive information about your website's GDPR policies. */
personalDataPolicyLinkProps?: RegisteredLinkProps;
localStorageKeyPrefix?: string;
}): {
useConsent: import("./useConsent").UseConsent<ExtractFinalityFromFinalityDescription<FinalityDescription>>;
ConsentBannerAndConsentManagement: () => JSX.Element | null;
Expand Down
4 changes: 2 additions & 2 deletions consentManagement/createConsentManagement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion consentManagement/createConsentManagement.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c2d4d34

Please sign in to comment.