Refactor components (#80)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2024-08-21 08:30:01 +02:00
1 parent a18cb22263
commit 1d1af91f3e
137 files changed
+220 -220

No files matched your search

@@ -0,0 +1,26 @@
using Microsoft.AspNetCore.Components;
namespace AIStudio.Components;
public partial class ThirdPartyComponent : ComponentBase
{
[Parameter]
public string Name { get; set; } = string.Empty;
[Parameter]
public string UseCase { get; set; } = string.Empty;
[Parameter]
public string Developer { get; set; } = string.Empty;
[Parameter]
public string LicenseName { get; set; } = string.Empty;
[Parameter]
public string LicenseUrl { get; set; } = string.Empty;
[Parameter]
public string RepositoryUrl { get; set; } = string.Empty;
private string Header => $"{this.Name} ({this.Developer})";
}