wabbajack/Wabbajack.App.Blazor/Components/InfoBlock.razor
2022-01-20 19:34:38 +11:00

32 lines
670 B
Plaintext

@namespace Wabbajack.App.Blazor.Components
<div id="info-block">
@if (Supertitle != string.Empty)
{
<span class="supertitle">@Supertitle</span>
}
<span class="title">@Title</span>
<span class="subtitle">@Subtitle</span>
<span class="comment">@Comment</span>
<span class="description">@Description</span>
</div>
@code {
[Parameter]
public string Supertitle { get; set; } = string.Empty;
[Parameter]
public string Title { get; set; }
[Parameter]
public string Subtitle { get; set; }
[Parameter]
public string Comment { get; set; }
[Parameter]
public string Description { get; set; }
}