@ilamy/calendar 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -39,10 +39,16 @@ function App() {
39
39
  return (
40
40
  <div className="h-screen p-4">
41
41
  <IlamyCalendar
42
- initialView="month"
42
+ initialEvents=[
43
+ {
44
+ title: 'My Event',
45
+ start: '2025-01-20T19:57:55.476Z',
46
+ end: '2025-01-25T19:57:55.476Z'
47
+ }
48
+ ]
43
49
  dayMaxEvents={3}
44
50
  onEventClick={(event) => console.log('Event clicked:', event)}
45
- onDateClick={(start, end) => console.log('Date clicked:', start, end)}
51
+ onCellClick={(start, end) => console.log('Date clicked:', start, end)}
46
52
  />
47
53
  </div>
48
54
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilamy/calendar",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A full-featured React calendar component library built with Shadcn-Ui, Tailwind CSS, and TypeScript.",
5
5
  "author": "Ilamy",
6
6
  "license": "MIT",