import { Link } from "react-router-dom"; import styles from "./Schedule/schedule.module.scss"; const AdminScheduleItem = ({ schedule, handleClick }) => { return (

{schedule.title}

handleClick(schedule.id)}>

{(schedule.start === schedule.end) ? schedule.start : schedule.start + "~" + schedule.end}

{schedule.memo}
) } export default AdminScheduleItem