mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-14 08:13:48 +00:00
Added detailed plugin information to the plugins page (#1013)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
b371b3d54f
commit
f912af321f
26 files changed
+884
-95
No files matched your search
@@ -0,0 +1,32 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace AIStudio.Components;
|
||||
|
||||
/// <summary>
|
||||
/// One row of a table that shows information: an icon and a label in the first cell, the value in the
|
||||
/// second.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Place it inside the body of a MudSimpleTable. The value is free content, so a row may hold buttons
|
||||
/// next to its text.
|
||||
/// </remarks>
|
||||
public partial class InfoTableRow : ComponentBase
|
||||
{
|
||||
/// <summary>
|
||||
/// The icon in front of the label.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public string Icon { get; set; } = Icons.Material.Filled.Info;
|
||||
|
||||
/// <summary>
|
||||
/// The label, which names what the row shows.
|
||||
/// </summary>
|
||||
[Parameter, EditorRequired]
|
||||
public string Label { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The value of the row.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public RenderFragment? ChildContent { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user