using Microsoft.AspNetCore.Components;
namespace AIStudio.Components;
///
/// One row of a table that shows information: an icon and a label in the first cell, the value in the
/// second.
///
///
/// Place it inside the body of a MudSimpleTable. The value is free content, so a row may hold buttons
/// next to its text.
///
public partial class InfoTableRow : ComponentBase
{
///
/// The icon in front of the label.
///
[Parameter]
public string Icon { get; set; } = Icons.Material.Filled.Info;
///
/// The label, which names what the row shows.
///
[Parameter, EditorRequired]
public string Label { get; set; } = string.Empty;
///
/// The value of the row.
///
[Parameter]
public RenderFragment? ChildContent { get; set; }
}