import type { SupportedGame } from "../../types/game"; interface DonerHirobaModalProps { isOpen: boolean; onClose: () => void; game: SupportedGame | undefined; renderAsCard?: () => void; } const TaikoDonderHirobaModal = ({ isOpen, onClose, game, renderAsCard, }: DonerHirobaModalProps) => { if (renderAsCard) { return (

Donder Hiroba Import

Import Play History from Donder Hiroba

); } if (!isOpen) return null; const handleClose = () => { onClose(); }; if (game === undefined) { return "Sorry, due to some extreme error the game you're looking for doesn't seem to exist..."; } return (
{/* Backdrop */}
{/* Modal */}
{/* Header */}

Import {game.formattedName} Data (Donder Hiroba)

Exporting from Donder Hiroba requires slightly more setup than other methods. Follow the instructions{" "} here .

{/* Actions */}
); }; export default TaikoDonderHirobaModal;