using Connected.Annotations; using Microsoft.AspNetCore.Components; namespace Connected.Components; public partial class DynamicTabs : Tabs { /// /// The icon used for the add button /// [Parameter] [Category(CategoryTypes.Tabs.Appearance)] public string AddTabIcon { get; set; } = Icons.Material.Filled.Add; /// /// the icon used of the close button /// [Parameter] [Category(CategoryTypes.Tabs.Appearance)] public string CloseTabIcon { get; set; } = Icons.Material.Filled.Close; /// /// The callback, when the add button has been clicked /// [Parameter] public EventCallback AddTab { get; set; } /// /// The callback, when the a close button has been clicked /// [Parameter] public EventCallback CloseTab { get; set; } /// /// Classes that are applied to the icon button of the add button /// [Parameter] [Category(CategoryTypes.Tabs.Appearance)] public string AddIconClass { get; set; } = string.Empty; /// /// Styles that are applied to the icon button of the add button /// [Parameter] [Category(CategoryTypes.Tabs.Appearance)] public string AddIconStyle { get; set; } = string.Empty; /// /// Classes that are applied to the icon button of the close button /// [Parameter] [Category(CategoryTypes.Tabs.Appearance)] public string CloseIconClass { get; set; } = string.Empty; /// /// Styles that are applied to the icon button of the close button /// [Parameter] [Category(CategoryTypes.Tabs.Appearance)] public string CloseIconStyle { get; set; } = string.Empty; /// /// Tooltip that shown when a user hovers of the add button. Empty or null, if no tooltip should be visible /// [Parameter] [Category(CategoryTypes.Tabs.Behavior)] public string AddIconToolTip { get; set; } = string.Empty; /// /// Tooltip that shown when a user hovers of the close button. Empty or null, if no tooltip should be visible /// [Parameter] [Category(CategoryTypes.Tabs.Behavior)] public string CloseIconToolTip { get; set; } = string.Empty; protected override string InternalClassName { get; } = "mud-dynamic-tabs"; }