Addet ToDaySales page
This commit is contained in:
12
PointOfSale/Pos.Web/Components/Shared/UiCard.razor
Normal file
12
PointOfSale/Pos.Web/Components/Shared/UiCard.razor
Normal file
@@ -0,0 +1,12 @@
|
||||
<section class="ui-card @Class">
|
||||
@if (!string.IsNullOrWhiteSpace(Title))
|
||||
{
|
||||
<div class="ui-card__header"><h2>@Title</h2></div>
|
||||
}
|
||||
<div class="ui-card__body">@ChildContent</div>
|
||||
</section>
|
||||
@code {
|
||||
[Parameter] public string Title { get; set; } = string.Empty;
|
||||
[Parameter] public string Class { get; set; } = string.Empty;
|
||||
[Parameter] public RenderFragment? ChildContent { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user