Skip to content

ConsentNoticeDefault

const ConsentNoticeDefault: DefineComponent<ExtractPropTypes<{
copy: {
default: () => {};
type: PropType<Partial<NoticeCopy>>;
};
locale: {
default: undefined;
type: PropType<undefined | string>;
};
optOutCategoryId: {
default: string;
type: StringConstructor;
};
policyUrl: {
default: undefined;
type: PropType<undefined | string>;
};
theme: {
default: undefined;
type: PropType<undefined | "light" | "dark">;
};
}>, () => VNode<RendererNode, RendererElement, {}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, ToResolvedProps<ExtractPropTypes<{
copy: {
default: () => {};
type: PropType<Partial<NoticeCopy>>;
};
locale: {
default: undefined;
type: PropType<undefined | string>;
};
optOutCategoryId: {
default: string;
type: StringConstructor;
};
policyUrl: {
default: undefined;
type: PropType<undefined | string>;
};
theme: {
default: undefined;
type: PropType<undefined | "light" | "dark">;
};
}>, {}>, {
copy: Partial<NoticeCopy>;
locale: undefined | string;
optOutCategoryId: string;
policyUrl: undefined | string;
theme: undefined | "light" | "dark";
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;

Defined in: packages/banner-default/src/vue/notice.ts:21

Drop-in styled notice card for sites with only notice-mode categories (typically UK DUAA-exempt analytics). Bottom-right toast with “Got it” / “Opt out” actions.