mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-20 09:21:37 +00:00
25 lines
600 B
C#
25 lines
600 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace AIStudio.Components;
|
|
|
|
public partial class ConfigPluginInfoCard : ComponentBase
|
|
{
|
|
[Parameter]
|
|
public string HeaderIcon { get; set; } = Icons.Material.Filled.Extension;
|
|
|
|
[Parameter]
|
|
public string HeaderText { get; set; } = string.Empty;
|
|
|
|
[Parameter]
|
|
public IEnumerable<ConfigInfoRowItem> Items { get; set; } = [];
|
|
|
|
[Parameter]
|
|
public bool ShowWarning { get; set; }
|
|
|
|
[Parameter]
|
|
public string WarningText { get; set; } = string.Empty;
|
|
|
|
[Parameter]
|
|
public string Class { get; set; } = "pa-3 mt-2 mb-2";
|
|
}
|