You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Components/Breadcrumbs/BreadcrumbLink.razor.cs

17 lines
401 B

2 years ago
using Connected.Utilities;
using Microsoft.AspNetCore.Components;
namespace Connected.Components;
public partial class BreadcrumbLink : UIComponent
{
[Parameter]
public BreadcrumbItem Item { get; set; }
[CascadingParameter]
public Breadcrumbs Parent { get; set; }
private string Classname => new CssBuilder("mud-breadcrumb-item")
.AddClass("mud-disabled", Item?.Disabled)
.Build();
}