Wagtail client-side components
Preparing search index...
components/Sidebar/menu/MenuItem
MenuItemDefinition
Interface MenuItemDefinition
interface
MenuItemDefinition
{
attrs
:
{
[
key
:
string
]:
any
}
;
classNames
?:
string
;
iconName
:
null
|
string
;
label
:
string
;
name
:
string
;
render
(
context
:
MenuItemRenderContext
)
:
ReactFragment
;
}
Implemented by
ActionMenuItemDefinition
LinkMenuItemDefinition
SubMenuItemDefinition
Index
Properties
attrs
class
Names?
icon
Name
label
name
Methods
render
Properties
attrs
attrs
:
{
[
key
:
string
]:
any
}
Optional
class
Names
classNames
?:
string
icon
Name
iconName
:
null
|
string
label
label
:
string
name
name
:
string
Methods
render
render
(
context
:
MenuItemRenderContext
)
:
ReactFragment
Parameters
context
:
MenuItemRenderContext
Returns
ReactFragment
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
attrs
class
Names
icon
Name
label
name
Methods
render
Wagtail client-side components
Loading...