-
Notifications
You must be signed in to change notification settings - Fork 27
How to add new menu item
Anthony Law edited this page Oct 12, 2020
·
1 revision
You can configure Add or Remove items on the menu.json
{
"items": [
{ "to": "/", "text": "home", "icon": "IconHome" },
{ "to": "/blocks", "text": "blocks", "icon": "IconBlocks" },
{ "to": "/transactions", "text": "transactions", "icon": "IconTransactions" },
{ "to": "/accounts", "text": "accounts", "icon": "IconAccounts" },
{ "to": "/namespaces", "text": "namespaces", "icon": "IconNamespaces" },
{ "to": "/mosaics", "text": "mosaics", "icon": "IconMosaics" },
{ "to": "/nodes", "text": "nodes", "icon": "IconNodes" },
{ "to": "/statistics", "text": "statistics", "icon": "IconStatistics" }
]
}
Name | Type | Description |
---|---|---|
to | string | link for directions to the target path. |
text | string | display name on the menu. |
icon | string | Icon for a menu item, you can configure the menu icon. |