import React, { useEffect, useState } from 'react'; import { makeStyles } from '@material-ui/styles'; const useStyles = makeStyles(theme => ({ show: { display: 'block', }, hide: { display: 'none', }, })); export default function ModalAlert({ show, message, textColor, handleClose }){ const classes = useStyles(); return (

{message}

閉じるボタン

) }