import React, { useState, useRef } from 'react'; import Calendar from '@toast-ui/react-calendar'; import "tui-calendar/dist/tui-calendar.css"; import "tui-date-picker/dist/tui-date-picker.css"; import "tui-time-picker/dist/tui-time-picker.css"; function Cal() { const [start, setStart] = useState(new Date()); const [end, setEnd] = useState(new Date(new Date().setMinutes(start.getMinutes() + 30)));; const [myTheme, setMyTheme] = useState({ 'common.dayname.color': '#333', 'common.today.color': '#333', 'common.creationGuide.backgroundColor': 'rgba(81, 92, 230, 0.05)', }); // Calendar.prototype.openCreationPopup = function (schedule) { // if (this._openCreationPopup) { // this._openCreationPopup(schedule); // } // }; return ( ) } export default Cal