wabbajack/Wabbajack.App.Blazor/Components/InfoBlock.razor
2022-01-28 12:58:28 +01:00

32 lines
655 B
Plaintext

@namespace Wabbajack.App.Blazor.Components
<div id="info-block">
@if (Supertitle is not null)
{
<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; }
[Parameter]
public string? Title { get; set; }
[Parameter]
public string? Subtitle { get; set; }
[Parameter]
public string? Comment { get; set; }
[Parameter]
public string? Description { get; set; }
}