@code {

  [Parameter] public List<Prospect>? Prospects { get; set; }
  
  [Parameter] public ProspectStateFilter StateFilter { get; set; }
  
  [Parameter] public Func<Task>? OnDataChanged { get; set; }

}
<h5>@(Prospects?.Count ?? 0) Einträge</h5>

@if (Prospects?.Any() == true)
{
  <div class="row m-0">
    <Repeater Items="@Prospects">
      <ProspectContainer 
        Prospect="context" 
        OnDataChanged="@OnDataChanged"
        StateFilter="StateFilter"></ProspectContainer>
    </Repeater>
  </div>
}