using Microsoft.AspNetCore.Components.Routing; namespace Elsa.Studio.Models; /// /// A menu item. /// public class MenuItem { /// /// The icon to use in SVG format. /// public string? Icon { get; set; } /// /// The path to navigate to. /// public string Href { get; set; } = default!; /// /// The to use. /// public NavLinkMatch Match { get; set; } = NavLinkMatch.Prefix; /// /// The text to display. /// public string Text { get; set; } = default!; /// /// The order of the menu item. /// public float Order { get; set; } /// /// A list of sub menu items. /// public ICollection SubMenuItems { get; set; } = new List(); /// /// The name of the group this menu item belongs to. /// public string GroupName { get; set; } = "General"; }