I am trying to show a div when I select a time slot on FullCalendar, but I don't know how to do it with react. It is supposed to look like this: https://prnt.sc/vekx12. This is my code:
> import React from 'react' import FullCalendar from
> '@fullcalendar/react' import dayGridPlugin from
> '@fullcalendar/daygrid'
>
> export default class DemoApp extends React.Component {
> render() {
> return (
> <FullCalendar
> plugins={[dayGridPlugin]}
> events= 'https://fullcalendar.io/demo-events.json?overload-day&start=2020-11-01T00%3A00%3A00Z&end=2020-12-13T00%3A00%3A00Z&timeZone=UTC'
> selectable={true}
> select={(info)=>this.someMethod(info)}
> />
> )
> }
> someMethod() {
> return "<div className='event-edit-popup'> <div className='flex'> <p>title</p></div></div>" } }
What am I missing??