@using RBLFeederCommon.Enums @if (ShowCount) { } else { } @code { [Parameter] public RssFeedSources Source { get; set; } [Parameter] public string Text { get; set; } [Parameter] public bool ShowCount { get; set; } [Parameter] public int Count { get; set; } [Parameter] public EventCallback OnClickedCallback { get; set; } protected override void OnInitialized() { base.OnInitialized(); } private async Task OnClicked() { await OnClickedCallback.InvokeAsync(Source); } }