@namespace DeepDrftPublic.Client.Controls.AudioPlayerBar
@using DeepDrftPublic.Client.Controls

<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="2">
    <PlayStateIcon Size="Size.Large"
                   Color="Color.Primary"
                   Disabled="!CanPlay"
                   OnToggle="@TogglePlayPause"/>
    @if (!Fixed)
    {
        <MudIconButton Icon="@Icons.Material.Filled.Stop"
                       Color="Color.Primary"
                       Size="Size.Large"
                       OnClick="@Stop"
                       Disabled="!IsLoaded"/>
    }
</MudStack>
