Websites v4 docs v5.2.4
Preparing search index...
API Reference/Theme
ThemeProviders
Function ThemeProviders
ThemeProviders
<
T
extends
DefaultThemeSettings
>
(
__namedParameters
:
{
children
:
ReactNode
;
domain
:
string
;
theme
:
string
;
themeCssVersionHash
:
string
;
themeSettings
:
T
;
}
,
)
:
Promise
<
Element
>
Type Parameters
T
extends
DefaultThemeSettings
Parameters
__namedParameters
:
{
children
:
ReactNode
;
domain
:
string
;
theme
:
string
;
themeCssVersionHash
:
string
;
themeSettings
:
T
;
}
children
:
ReactNode
domain
:
string
theme
:
string
optionally pass theme if needed to render one other than from global config
themeCssVersionHash
:
string
themeSettings
:
T
Returns
Promise
<
Element
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Websites v4 docs v5.2.4
Loading...
optionally pass theme if needed to render one other than from global config