v4.3.0 - Switching a Year
- 🆕 This feature allows you to customise the offset for the
previousMonthButton
andnextMonthButton
in your code by passing thestep
property. By specifying the number of months to move forward or backwards, you can easily adjust the offset to fit your specific needs. It resolves #8
You can go crazy and do different interesting things 🤪
<button {...previousMonthButton({ step: 1 })}>Previous Month</button>
<button {...nextMonthButton({ step: 12 })}>Next Year</button>