CustomView.js 446 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
import ScheduleCarousel from "../Schedule/ScheduleCarousel";
import ScheduleList from "../Schedule/ScheduleList";
Kim, Subin's avatar
Kim, Subin committed
3
4
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
    }
})