Open injoonH opened 11 months ago
달력 기본틀 제작 및 이벤트 추가 확인
class Calendar extends Component {
render() {
return (
<div className="App">
<FullCalendar
defaultView="dayGridMonth"
plugins={[dayGridPlugin]}
events={[
{ title: "event 1", date: "2023-09-14", color: "#E6E6FA" },
{
title: "KaPo",
start: "2023-09-22",
end: "2023-09-24",
allday: true,
color: "#E0FFFF",
},
{ title: "qwerty", date: "2023-09-25", color: "#FFF0F5" },
]}
eventTextColor="black"
/>
</div>
);
}
}
Calendar
Progress