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 ModalMemo({ show, title, content, handleClose }){ const classes = useStyles(); return (

{title}


{content}

閉じるボタン

) }