using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components;

namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
{
    public partial class PokemonAddButton
    {
        [Parameter] 
        public EventCallback OnAdd { get; set; }
        [Parameter]
        public int IconSize { get; set; } = 64;

        private async Task HandleClick()
        {
            await OnAdd.InvokeAsync();
        }

    }
}
