mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-06 19:49:40 +00:00
Refactor components (#80)
This commit is contained in:
1 parent
a18cb22263
commit
1d1af91f3e
137 files changed
+220
-220
No files matched your search
@@ -0,0 +1,16 @@
|
||||
using AIStudio.Tools;
|
||||
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace AIStudio.Components;
|
||||
|
||||
public partial class ProcessComponent<T> : ComponentBase where T : struct, Enum
|
||||
{
|
||||
[Parameter]
|
||||
public bool ShowProgressAnimation { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public ProcessStepValue StepValue { get; set; }
|
||||
|
||||
private readonly Process<T> process = Process<T>.INSTANCE;
|
||||
}
|
||||
Reference in new issue
Block a user