Weekly.js 449 Bytes
Newer Older
Kim, Subin's avatar
Monthly    
Kim, Subin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import FullCalendar from '@fullcalendar/react';
import dayGridPlugin from '@fullcalendar/daygrid';

const Weekly = () => {
    return (
        <FullCalendar
            plugins={[dayGridPlugin]}
            initialView="dayGridWeek"
            defaultView="dayGridWeek"
            headerToolbar={{
                start: 'prev',
                center: 'title',
                end: 'next'
            }}
        />
    )
}

export default Weekly