Documentation
Preparing search index...
react-ui/src
ThemeProvider
Function ThemeProvider
ThemeProvider
(
__namedParameters
:
{
children
:
ReactNode
;
overrides
?:
{
borderRadiusPx
?:
number
;
brand
?:
{
faviconUrl
?:
string
;
logoUrls
?:
{
darkBg
?:
string
;
lightBg
?:
string
}
;
name
?:
string
;
}
;
primaryColor
?:
string
;
secondaryColor
?:
string
;
useDarkMode
?:
boolean
;
}
;
}
,
)
:
ReactNode
Provides context for the UI
Theme
to its children.
Parameters
__namedParameters
:
{
children
:
ReactNode
;
overrides
?:
{
borderRadiusPx
?:
number
;
brand
?:
{
faviconUrl
?:
string
;
logoUrls
?:
{
darkBg
?:
string
;
lightBg
?:
string
}
;
name
?:
string
;
}
;
primaryColor
?:
string
;
secondaryColor
?:
string
;
useDarkMode
?:
boolean
;
}
;
}
Returns
ReactNode
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Provides context for the UI
Themeto its children.