started calendar styling

This commit is contained in:
victorAnumudu
2024-12-17 15:35:08 +01:00
parent a364269547
commit 75d570ef6a
2 changed files with 39 additions and 3 deletions
+2 -2
View File
@@ -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)})