import React, { useState } from 'react'; import { Schedule } from '@definitions/user'; import TaskDetailsModal from '@/components/server/schedules/TaskDetailsModal'; import Button from '@/components/elements/Button'; import tw from 'twin.macro'; interface Props { schedule: Schedule; } export default ({ schedule }: Props) => { const [ visible, setVisible ] = useState(false); return ( <> setVisible(false)}/> ); };