gpbl / react-day-picker

DayPicker is a customizable date picker component for React. Add date pickers, calendars, and date inputs to your web applications.

Home Page:https://daypicker.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix: Docs. Type alias: Matcher api reference page uses incorrect ";" in the examples

janaiscoding opened this issue · comments

Docs issue description

In the code snippets provided in the documentation Type alias: Matcher we encounter Date objects which end with ;, which is an incorrect syntax.

Method of fixing

Just remove all instances of ; in the objects matchers such as { after: new Date(2019, 1, 2); };