<UserControl
    x:Class="Wallet.Avalonia.FavouriteItemActionView"
    xmlns="https://github.com/avaloniaui"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:vm="using:Wallet"
    x:DataType="vm:FavouriteItemActionViewModel">
    <Button
        Width="{StaticResource ButtonWidth}"
        Height="{StaticResource ButtonHeight}"
        VerticalAlignment="Center"
        Command="{Binding InvokeCommand}"
        ToolTip.Tip="Edit">
        <Grid>
            <TextBlock
                VerticalAlignment="Center"
                FontFamily="{DynamicResource FluentThemeFontFamily}"
                FontSize="18"
                IsVisible="{Binding !Value}"
                Text="&#xEF61;" />
            <TextBlock
                VerticalAlignment="Center"
                FontFamily="{DynamicResource FluentThemeFontFamily}"
                FontSize="18"
                IsVisible="{Binding Value}"
                Text="&#xEF60;" />
        </Grid>
    </Button>
</UserControl>
