<MudButton Style="min-width: 20px; max-width: 64px; width: 64px" FullWidth="true" OnClick="@OnClick" Variant="@(Selected ? Variant.Filled : Variant.Text)">
	<MudStack AlignItems="AlignItems.Center" Spacing="0">
		<MudIcon Icon="@Icon" Color="Color.Inherit"/>
		<MudText Style="margin-top: 1px" Typo="Typo.caption">@Text</MudText>
	</MudStack>
</MudButton>

@code {
	[Parameter, EditorRequired]
    public string? Icon { get; set; }

	[Parameter, EditorRequired]
    public string? Text { get; set; }

	[Parameter, EditorRequired]
	public bool Selected { get; set; }

	[Parameter]
    public EventCallback OnClick { get; set; }
}
