[성현모] TestList 조회 페이지 개선
This commit is contained in:
23
Projects/WebClient/Web.Tra/Components/Module/TitleCard.razor
Normal file
23
Projects/WebClient/Web.Tra/Components/Module/TitleCard.razor
Normal file
@ -0,0 +1,23 @@
|
||||
<RadzenCard Style="@($"height:100%;{CardStyle};")" class="rz-mb-3 rz-p-0">
|
||||
<RadzenStack Style="width:100%; height:2.7rem; background-color:var(--rz-primary-lighter);" class="rz-pl-3">
|
||||
<RadzenLabel class="rz-p-1" Text="@HeaderText">
|
||||
</RadzenLabel>
|
||||
</RadzenStack>
|
||||
<RadzenStack Style="@($"height:{ContentsHeight}")" Orientation="Orientation.Horizontal" AlignItems="AlignItems.Start" JustifyContent="JustifyContent.Start">
|
||||
@ChildContent
|
||||
</RadzenStack>
|
||||
</RadzenCard>
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
public RenderFragment? ChildContent { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public string HeaderText { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public string ContentsHeight { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public string CardStyle { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user