react-day-picker
react-day-picker copied to clipboard
DayPicker is a customizable date picker component for React. Add date pickers, calendars, and date inputs to your web applications.
The reset styles should only affect calendar buttons. ```tsx import Button from "../components/Button" import { DayPicker } from "react-day-picker"; export function Start() { return (
In v8, `useDayPicker` returned `classNames`, `styles` and `components` among other things. This allowed for easy recomposition for more complex layouts in custom components. This no longer works in v9. ##...
## Code This worked in v8: ```tsx import { DateRange, isMatch } from 'react-day-picker'; const day = new Date(2022, 5, 19); const matcher: DateRange = { from: new Date(2022, 5,...
# Pull Request Template Thanks for your PR! Make sure you have read the [CONTRIBUTING](./CONTRIBUTING.md) guide. ## What's Changed _Briefly describe the changes in this pull request._ ## Type of...
## What's Changed Update the `select` function in the `src/selection/useRange.tsx` hook to improve the performance. ## Type of Change - [X] Bug fix - [ ] New feature - [...
# Pull Request Template Thanks for your PR! Make sure you have read the [CONTRIBUTING](./CONTRIBUTING.md) guide. ## What's Changed ``` TS2345: Argument of type 'Date' is not assignable to parameter...
# Pull Request Template Thanks for your PR! Make sure you have read the [CONTRIBUTING](./CONTRIBUTING.md) guide. ## What's Changed _Briefly describe the changes in this pull request._ ## Type of...
## What's Changed - `dateLib` was an object containing a subset of date-fns functions, it is now a full class, which takes that subset and locale/formatting options as constructor arguments....
## What's Changed `locale` is optionally user defined as a prop to DayPicker and should fallback to en-US (the default for DayPicker) when none is supplied by the user. There...
When using the `react-day-picker` component to select a date range, if the selected date range is too long, the UI takes too long to respond after selecting a new date....