Mosaic
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Mosaic
mosaic-core
/
dev.catbit.mosaic.core.data.schemas.tile.tiles.menu
/
MenuTileSchema
/
MenuItem
Menu
Item
@
Serializable
data
class
MenuItem
(
val
id
:
String
,
val
label
:
String
,
val
leadingIcon
:
IconSchema
?
=
null
,
val
trailingIcon
:
IconSchema
?
=
null
)
Members
Constructors
Menu
Item
Link copied to clipboard
constructor
(
id
:
String
,
label
:
String
,
leadingIcon
:
IconSchema
?
=
null
,
trailingIcon
:
IconSchema
?
=
null
)
Properties
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
val
id
:
String
label
Link copied to clipboard
@
SerialName
(
value
=
"label"
)
val
label
:
String
leading
Icon
Link copied to clipboard
@
SerialName
(
value
=
"leadingIcon"
)
val
leadingIcon
:
IconSchema
?
trailing
Icon
Link copied to clipboard
@
SerialName
(
value
=
"trailingIcon"
)
val
trailingIcon
:
IconSchema
?