Skip to content

v4.3.0 - Switching a Year

Compare
Choose a tag to compare
@Feshchenko Feshchenko released this 18 Feb 21:56
· 43 commits to main since this release
  • 🆕 This feature allows you to customise the offset for the previousMonthButton and nextMonthButton in your code by passing the step 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>