mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-06 07:29:06 +00:00
24 lines
588 B
C#
24 lines
588 B
C#
|
using Microsoft.AspNetCore.Components;
|
||
|
|
||
|
namespace AIStudio.Components.Blocks;
|
||
|
|
||
|
public partial class ExpansionPanel : ComponentBase
|
||
|
{
|
||
|
[Parameter]
|
||
|
public string HeaderIcon { get; set; } = Icons.Material.Filled.BugReport;
|
||
|
|
||
|
[Parameter]
|
||
|
public Size IconSize { get; set; } = Size.Medium;
|
||
|
|
||
|
[Parameter]
|
||
|
public Color IconColor { get; set; } = Color.Primary;
|
||
|
|
||
|
[Parameter]
|
||
|
public string HeaderText { get; set; } = "n/a";
|
||
|
|
||
|
[Parameter]
|
||
|
public RenderFragment? ChildContent { get; set; }
|
||
|
|
||
|
[Parameter]
|
||
|
public bool IsExpanded { get; set; }
|
||
|
}
|