CustomView.js 434 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
import KUSchedule from "../Schedule/KUSchedule.js";
import ScheduleList from "../Schedule/ScheduleList.js";
import { createPlugin } from '@fullcalendar/react';

Kim, Subin's avatar
Kim, Subin committed
5
const CustomDateView = () => {
Kim, Subin's avatar
Kim, Subin committed
6
7
8
9
10
11
12
13
14
15
    return (
        <div className='fc-custom-view border-top border-dark pt-2'>
            <KUSchedule />
            <ScheduleList />
        </div>
    )
}

export default createPlugin({
    views: {
Kim, Subin's avatar
Kim, Subin committed
16
        date: CustomDateView
Kim, Subin's avatar
Kim, Subin committed
17
18
    }
})