Wagtail client-side components
Preparing search index...
components/Sidebar/menu/MenuItem
MenuItemProps
Interface MenuItemProps<T>
interface
MenuItemProps
<
T
>
{
item
:
T
;
path
:
string
;
slim
:
boolean
;
state
:
MenuState
;
dispatch
(
action
:
MenuAction
)
:
void
;
navigate
(
url
:
string
)
:
Promise
<
void
>
;
}
Type Parameters
T
Index
Properties
item
path
slim
state
Methods
dispatch
navigate
Properties
item
item
:
T
path
path
:
string
slim
slim
:
boolean
state
state
:
MenuState
Methods
dispatch
dispatch
(
action
:
MenuAction
)
:
void
Parameters
action
:
MenuAction
Returns
void
navigate
navigate
(
url
:
string
)
:
Promise
<
void
>
Parameters
url
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
item
path
slim
state
Methods
dispatch
navigate
Wagtail client-side components
Loading...