wabbajack/Wabbajack.App.Blazor/Components/InfoBlock.razor

32 lines
655 B
Plaintext
Raw Normal View History

2022-01-20 08:34:38 +00:00
@namespace Wabbajack.App.Blazor.Components
<div id="info-block">
2022-01-28 11:58:28 +00:00
@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]
2022-01-28 11:58:28 +00:00
public string? Supertitle { get; set; }
[Parameter]
2022-01-28 11:58:28 +00:00
public string? Title { get; set; }
[Parameter]
2022-01-28 11:58:28 +00:00
public string? Subtitle { get; set; }
[Parameter]
2022-01-28 11:58:28 +00:00
public string? Comment { get; set; }
[Parameter]
2022-01-28 11:58:28 +00:00
public string? Description { get; set; }
}