Types: ConsentSettingsLinkProps to ConsentProps
The types of @poltura/theme-sdk/consent, ConsentSettingsLinkProps to ConsentProps.
On this page
import { … } from '@poltura/theme-sdk/consent';ConsentSettingsLinkProps
Props of ConsentSettingsLink.
childrenReactNodeThe link text; the merchant's preferences label by default.
classNamestringClasses added to the link.
ConsentCookieTableClassKey
Table parts to style.
type ConsentCookieTableClassKey = 'table' | 'caption' | 'head' | 'row' | 'cell'The parts of ConsentCookieTable a theme can add classes to.
ConsentCookieTableProps
Props of ConsentCookieTable.
categoryConsentCategoryLists only this category; every category that has cookies by default.
classNamestringClasses added to the table's wrapper.
classesPartial<Record<ConsentCookieTableClassKey, string>>Classes added to the table's inner elements.
ConsentProps
Props of Consent.
classNamestringClasses added to the banner and the panel.