Skip to content

Commit 4f59b43

Browse files
committed
test: use backgroundColor in events
1 parent 5e51e02 commit 4f59b43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/common/Calendar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { useRef, useState, useEffect } from 'react';
55

66
const events = [
77
{ title: 'Meeting', start: new Date() },
8-
{ title: 'Meeting2', start: '2024-05-08', end: '2024-05-12' },
9-
{ title: 'Meeting3', start: '2024-05-08', end: '2024-05-10' },
8+
{ title: 'Meeting2', start: '2024-05-08', end: '2024-05-12', backgroundColor: 'red', borderColor: 'red' },
9+
{ title: 'Meeting3', start: '2024-05-08', end: '2024-05-10', backgroundColor: 'green', borderColor: 'green' },
1010
{ title: 'Meeting4', start: '2024-05-08', end: '2024-05-11' },
1111
];
1212

0 commit comments

Comments
 (0)