fullcalendar / fullcalendar-react

The official React Component for FullCalendar

Home Page:https://fullcalendar.io/docs/react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't see the Monthly, Weekly, Day, List View mode button.

ungkaku23 opened this issue · comments

<FullCalendar
initialView="dayGridMonth"
header={{
left: "prev,next today",
center: "title",
right: "dayGridMonth,timeGridWeek,timeGridDay,listWeek"
}}
rerenderDelay={10}
eventDurationEditable={false}
editable={true}
droppable={true}
plugins={[
dayGridPlugin,
timeGridPlugin,
interactionPlugin,
]}
ref={this.calendarComponentRef}
weekends={this.state.calendarWeekends}
events={this.state.calendarEvents}
eventDrop={this.drop}
// drop={this.drop}
eventReceive={this.eventReceive}
eventClick={this.eventClick}
// selectable={true}
/>

this is my code.

How can I display all of those button properly?

Please refer to the support page and use Stack Overflow for help. If this is a bug, please supply a runnable, stripped-down demonstration.