CustomView.js 452 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
import ScheduleCarousel from "../Schedule/ScheduleCarousel.js";
Kim, Subin's avatar
Kim, Subin committed
2
3
4
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
    return (
        <div className='fc-custom-view border-top border-dark pt-2'>
Kim, Subin's avatar
Kim, Subin committed
8
            <ScheduleCarousel />
Kim, Subin's avatar
Kim, Subin committed
9
10
11
12
13
14
15
            <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
    }
})