react get fullcalendar by reference code example

Example 1: fullcalendar react add event duration

FullCalendar defaultView="dayGridMonth" dateClick={this.handleDateClick} select={this.handleSelectClick} selectable='true' plugins={[ dayGridPlugin, interactionPlugin ]}  events={[
                { title: 'event 1', allDay: true, start: '2020-05-29', end: '2020-05-30' },
                { title: 'event 2', allDay: true, start: '2020-05-29', end: '2020-05-30'}
            ]}/>

Example 2: react full calendar

jsx<Datepicker
    controls={['calendar']}
    display="inline"
    touchUi={true}
 />

Tags:

Misc Example