Features
- feat: add
eventHeightprop 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
IlamyCalendarandIlamyResourceCalendar
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>
)}
/>