mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 13:57:59 +00:00
Improved the coding assistant by adding a button to delete a context (#90)
This commit is contained in:
1 parent
3fd0d4d5c1
commit
a6c5b3de23
5 files changed
+44
-1
No files matched your search
@@ -21,4 +21,19 @@ public partial class ExpansionPanel : ComponentBase
|
||||
|
||||
[Parameter]
|
||||
public bool IsExpanded { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public bool ShowEndButton { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public Func<ValueTask> EndButtonClickAsync { get; set; } = () => ValueTask.CompletedTask;
|
||||
|
||||
[Parameter]
|
||||
public string EndButtonIcon { get; set; } = Icons.Material.Filled.Delete;
|
||||
|
||||
[Parameter]
|
||||
public Color EndButtonColor { get; set; } = Color.Error;
|
||||
|
||||
[Parameter]
|
||||
public string EndButtonTooltip { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in new issue
Block a user