You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
757 B
37 lines
757 B
@{
|
|
#nullable disable
|
|
}
|
|
|
|
<MudItem sm="6" Class="d-flex flex-column mud-width-full">
|
|
<div class="d-flex align-center">
|
|
<MudText Typo="Typo.h6">
|
|
@Title
|
|
</MudText>
|
|
<div hidden="@IsSame">
|
|
<MudChip Class="ml-2" Color="Color.Primary" Size="Size.Small">Changed</MudChip>
|
|
</div>
|
|
</div>
|
|
<MudText Typo="Typo.body2">
|
|
@Description
|
|
</MudText>
|
|
</MudItem>
|
|
|
|
<MudItem sm="6" Class="mud-width-full">
|
|
@ChildContent
|
|
</MudItem>
|
|
|
|
@code
|
|
{
|
|
[Parameter]
|
|
public RenderFragment ChildContent { get; set; }
|
|
|
|
[Parameter]
|
|
public bool? IsSame { get; set; }
|
|
|
|
[Parameter]
|
|
public string Title { get; set; } = "";
|
|
|
|
[Parameter]
|
|
public string Description { get; set; } = "";
|
|
}
|