Files
aliasvault/apps/server/Shared/AliasVault.RazorComponents/Models/BreadcrumbItem.cs

31 lines
1.0 KiB
C#

//-----------------------------------------------------------------------
// <copyright file="BreadcrumbItem.cs" company="aliasvault">
// Copyright (c) aliasvault. All rights reserved.
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasVault.RazorComponents.Models;
/// <summary>
/// Represents a breadcrumb item for the breadcrumb component.
/// </summary>
public sealed class BreadcrumbItem
{
/// <summary>
/// Gets or sets the display name for the breadcrumb item.
/// </summary>
public string? DisplayName { get; set; }
/// <summary>
/// Gets or sets the URL for the breadcrumb item.
/// </summary>
public string? Url { get; set; }
/// <summary>
/// Gets or sets a value indicating whether to show the home icon for this item.
/// Typically used for the first item in the breadcrumb trail.
/// </summary>
public bool ShowHomeIcon { get; set; }
}