Search
Preparing search index...
The search index is not available
@devowl-wp/utils
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"frontend-packages/react-cookie-banner/src/hooks/useBannerOrBlocker"
Module "frontend-packages/react-cookie-banner/src/hooks/useBannerOrBlocker"
Index
Functions
use
Banner
OrBlocker
Functions
use
Banner
OrBlocker
use
Banner
OrBlocker
(
)
:
Partial
<
Customize
&
CommonContextProps
<
BannerContextI18nProps
>
&
BannerContextContainerProps
&
BannerContextHistoryProps
&
BannerContextTcfProps
&
BannerContextActionProps
&
BannerContextSaveActionProps
&
BannerContextImitateProps
>
&
Partial
<
Customize
&
CommonContextProps
<
{}
>
&
{
blocker
:
VisualBlocker
;
onUnblock
:
(
event
?:
MouseEvent
)
=>
void
;
paintMode
:
BlockerMountPaintMode
;
showFooter
:
boolean
}
>
Use one of the available banner or blocker contexts as union typed.
Returns
Partial
<
Customize
&
CommonContextProps
<
BannerContextI18nProps
>
&
BannerContextContainerProps
&
BannerContextHistoryProps
&
BannerContextTcfProps
&
BannerContextActionProps
&
BannerContextSaveActionProps
&
BannerContextImitateProps
>
&
Partial
<
Customize
&
CommonContextProps
<
{}
>
&
{
blocker
:
VisualBlocker
;
onUnblock
:
(
event
?:
MouseEvent
)
=>
void
;
paintMode
:
BlockerMountPaintMode
;
showFooter
:
boolean
}
>
Globals
"frontend-
packages/react-
cookie-
banner/src/hooks/use
Banner
OrBlocker"
use
Banner
OrBlocker
Generated using
TypeDoc
Use one of the available banner or blocker contexts as union typed.