function handleClick() {
return <TimeTable />
}
function App() {
const [isSelect, setSelect] = useState(false)
const handleClick = () => setSelect(prev => !prev)
return <div>
<button onClick={handleClick}>Show</button>
<TimeTable isSelect={isSelect} /></div>
}