github kcsujeet/ilamy-calendar v1.5.2

latest releases: v1.7.0, v1.6.3, v1.6.2...
one month ago

Features

  • feat: add eventHeight prop for configurable event bar height in horizontal grid views (month, resource month, resource week horizontal) (#115) — Closes #114
    • Defaults to 24px for backward compatibility
    • Enables multi-line event content (e.g., title + booking times on separate lines)
    • Available on both IlamyCalendar and IlamyResourceCalendar

Usage

<IlamyCalendar
  eventHeight={48}
  renderEvent={(event) => (
    <div className="h-full w-full bg-blue-500 text-white px-1 rounded-md overflow-clip">
      <p className="text-xs font-semibold">{event.title}</p>
      <p className="text-[10px] opacity-80">
        {event.start.format('h:mm A')} - {event.end.format('h:mm A')}
      </p>
    </div>
  )}
/>

Don't miss a new ilamy-calendar release

NewReleases is sending notifications on new releases.