Module "frontend-packages/react-cookie-banner/src/hooks/banner/useBannerTcfDeclarations"
Functions
useBannerTcfDeclarations
- useBannerTcfDeclarations(declaration: keyof Omit<Declarations, "stacks">): (Feature | Purpose)[]
-
Parameters
-
declaration: keyof Omit<Declarations, "stacks">
Returns (Feature | Purpose)[]
Get a list of used declarations for e.g.
purposes
. It can also return an empty array if the given declaration does not have any items.