GraphiQL API Documentation
Preparing search index...
@graphiql/react
useGraphiQLSettings
Function useGraphiQLSettings
useGraphiQLSettings
(
containerRef
?:
RefObject
<
HTMLElement
|
null
>
,
)
:
{
density
:
Density
;
fontSize
:
FontSize
;
resolvedTheme
:
"light"
|
"dark"
;
setDensity
:
(
density
:
Density
)
=>
void
;
setFontSize
:
(
fontSize
:
FontSize
)
=>
void
;
setTheme
:
(
theme
:
SettingsTheme
)
=>
void
;
theme
:
SettingsTheme
;
}
Parameters
Optional
containerRef
:
RefObject
<
HTMLElement
|
null
>
Returns
{
density
:
Density
;
fontSize
:
FontSize
;
resolvedTheme
:
"light"
|
"dark"
;
setDensity
:
(
density
:
Density
)
=>
void
;
setFontSize
:
(
fontSize
:
FontSize
)
=>
void
;
setTheme
:
(
theme
:
SettingsTheme
)
=>
void
;
theme
:
SettingsTheme
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GraphiQL API Documentation
Loading...