using Microsoft.AspNetCore.Components;

namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
{
    public partial class PokemonImage
    {
        [Parameter]
        public string baseUrl { get; set; }
        [Parameter]
        public string shinyUrl { get; set; }

        private bool isShiny = false;

        private void ToggleImage()
        {
            isShiny = !isShiny;
            StateHasChanged();
        }
    }
}
