c15t
Version:
Headless JavaScript consent management platform for cookie banners, privacy preferences, consent storage, and script gating.
21 lines (20 loc) • 553 B
TypeScript
import type { LegalLinksTranslations } from '@c15t/translations';
export type LegalLink = {
/** The URL or path to the legal link */
href: string;
/**
* The target of the legal link
* @defaultValue '_blank'
*/
target?: '_blank' | '_self';
/**
* The rel of the legal link
*/
rel?: string;
/**
* The label of the legal link
* This value overrides the translation for this link.
*/
label?: string;
};
export type LegalLinks = Partial<Record<keyof LegalLinksTranslations, LegalLink>>;