using Biskilog_Accounting.Shared.CustomModels; using Microsoft.AspNetCore.Components; namespace Biskilog_Accounting.Client.Pages.Dashboard.Elements { public partial class TransactionCard { [Parameter] public List Sales { get; set; } = new List { }; [Parameter] public bool IsLoading { get; set; } = true; protected override Task OnInitializedAsync() { IsLoading = true; return base.OnInitializedAsync(); } protected override void OnParametersSet() { IsLoading = false; base.OnParametersSet(); } } }