started calendar styling
This commit is contained in:
@@ -39,8 +39,8 @@ export default function Calendar(){
|
||||
<p className="mt-3">
|
||||
Drag and drop your event or click in the calendar.
|
||||
</p>
|
||||
{dummyEvents.map(item => (
|
||||
<div className={`fc-event ${item.color}`} data-color={`${item.color}`}
|
||||
{dummyEvents.map((item, index) => (
|
||||
<div key={index} className={`fc-event ${item.color}`} data-color={`${item.color}`}
|
||||
// draggable="true"
|
||||
onDragStart={() =>
|
||||
handleDragStart({ title: formatName(item.name)})
|
||||
|
||||
Reference in New Issue
Block a user