<MudButtonGroup Size="Size.Small">
    @if (DetailsHref != null)
    {
        <MudTooltip Text="Details">
            <MudIconButton Href="@DetailsHref" Icon="@Icons.Material.Filled.Description">Details</MudIconButton>
        </MudTooltip>
    }
    @if (EditHref != null)
    {
        <MudTooltip Text="Edit">
            <MudIconButton Href="@EditHref" Icon="@Icons.Material.Filled.Edit">Edit</MudIconButton>
        </MudTooltip>
    }
    @if (DeleteOnClick != null)
    {
        <MudTooltip Text="Delete">
            <MudIconButton Icon="@Icons.Material.Outlined.Delete"
                           Color="Color.Error"
                           OnClick="() => DeleteOnClick()"/>
        </MudTooltip>
    }
</MudButtonGroup>

@code {

    [Parameter] public string? DetailsHref { get; set; }
    [Parameter] public string? EditHref { get; set; }
    [Parameter] public Action? DeleteOnClick { get; set; }
}