using Microsoft.AspNetCore.Components;
namespace AIStudio.Components;
///
/// The button next to the settings of an assistant, which switches to another of the modes it offers, e.g., from
/// translating a document to translating a text.
///
///
/// Every assistant with modes shows the same icon here, so that users recognize the button; its tooltip names
/// where it leads.
///
public partial class AssistantModeSwitch : ComponentBase
{
///
/// The tooltip of the button, e.g., "Switch to text translation".
///
[Parameter, EditorRequired]
public string Tooltip { get; set; } = string.Empty;
///
/// Whether the button is disabled, e.g., while the assistant works.
///
[Parameter]
public bool Disabled { get; set; }
///
/// Called when the user clicks the button.
///
[Parameter]
public EventCallback OnSwitch { get; set; }
}