@dxos/react-ui
Preparing search index...
components/Main/Main
useMainSidebars
Function useMainSidebars
useMainSidebars
(
consumerName
:
string
,
)
:
{
closeComplementarySidebar
:
()
=>
void
;
closeNavigationSidebar
:
()
=>
void
;
collapseComplementarySidebar
:
()
=>
void
;
collapseNavigationSidebar
:
()
=>
void
;
complementarySidebarState
:
SidebarState
;
navigationSidebarState
:
SidebarState
;
openComplementarySidebar
:
()
=>
void
;
openNavigationSidebar
:
()
=>
void
;
setComplementarySidebarState
:
Dispatch
<
SetStateAction
<
undefined
|
SidebarState
>
,
>
;
setNavigationSidebarState
:
Dispatch
<
SetStateAction
<
undefined
|
SidebarState
>
,
>
;
toggleComplementarySidebar
:
()
=>
void
;
toggleNavigationSidebar
:
()
=>
void
;
}
Parameters
consumerName
:
string
Returns
{
closeComplementarySidebar
:
()
=>
void
;
closeNavigationSidebar
:
()
=>
void
;
collapseComplementarySidebar
:
()
=>
void
;
collapseNavigationSidebar
:
()
=>
void
;
complementarySidebarState
:
SidebarState
;
navigationSidebarState
:
SidebarState
;
openComplementarySidebar
:
()
=>
void
;
openNavigationSidebar
:
()
=>
void
;
setComplementarySidebarState
:
Dispatch
<
SetStateAction
<
undefined
|
SidebarState
>
,
>
;
setNavigationSidebarState
:
Dispatch
<
SetStateAction
<
undefined
|
SidebarState
>
,
>
;
toggleComplementarySidebar
:
()
=>
void
;
toggleNavigationSidebar
:
()
=>
void
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dxos/react-ui
Loading...