import { Dialog, DialogContent, Tooltip, Zoom } from '@mui/material'; import ArrowRightAltIcon from '@mui/icons-material/ArrowRightAlt'; import './InfoDialogComponent.css'; import { findPokeTypeAsset } from 'components/PokemonTypes'; import { colorTypeGradients } from 'components/utils'; import GenderRate from 'components/GenderRate'; import Delayed from 'components/Delayed'; import EvolutionSpecies from 'components/EvolutionSpecies'; import { InfoDialogDetails } from 'features/InfoDialog/infoDialogSlice'; export interface Stat { stat__name: string; stat__value: number; } export type InfoDialogComponentProps = InfoDialogDetails & { openDialog: boolean; closeDialog: () => void; }; const InfoDialog = ({ openDialog, closeDialog, id, name, types, genera, image, height, weight, genderRatio, description, abilities, stats, evolutionChain, }: InfoDialogComponentProps) => { const finalColor = colorTypeGradients(types); return (