mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-04 20:10:55 +00:00
20 lines
662 B
Plaintext
20 lines
662 B
Plaintext
<RadzenCard Style="width: 480px;">
|
|
<RadzenStack Orientation="Orientation.Horizontal" AlignItems="AlignItems.Center">
|
|
<RadzenIcon Icon="@Icon" Style="font-size: 48px;" />
|
|
<RadzenStack Orientation="Orientation.Vertical" >
|
|
<RadzenText Text="@Title"/>
|
|
@if (Description is not null)
|
|
{
|
|
<RadzenText Text="@Description" />
|
|
}
|
|
</RadzenStack>
|
|
</RadzenStack>
|
|
</RadzenCard>
|
|
|
|
|
|
@code {
|
|
[EditorRequired] [Parameter] public string Title { get; set; }
|
|
[Parameter] public string? Description { get; set; }
|
|
[EditorRequired] [Parameter] public string Icon { get; set; }
|
|
}
|