Skip to content

Commit

Permalink
docs: replace deprecated props (#2336)
Browse files Browse the repository at this point in the history
`fromMonth` has been renamed to `startMonth`,
`toMonth` has been renamed to `endMonth`
  • Loading branch information
josephmarkus authored Aug 1, 2024
1 parent ae63d4c commit b225367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/upgrading.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ In case you are using `fromDate` or `toDate`, replace them with the `hidden` and

| Removed prop | Notes |
| ------------ | ------------------------------------------------------------------------------------------------------------ |
| ~`fromDate`~ | Replace it with `fromMonth` and the `hidden` prop and the `before` [Matcher](./api/type-aliases/Matcher.md). |
| ~`toDate`~ | Replace it with `toMonth` the `hidden` prop and the `after` [Matcher](./api/type-aliases/Matcher.md). |
| ~`fromDate`~ | Replace it with `startMonth` and the `hidden` prop and the `before` [Matcher](./api/type-aliases/Matcher.md). |
| ~`toDate`~ | Replace it with `endMonth` the `hidden` prop and the `after` [Matcher](./api/type-aliases/Matcher.md). |

#### Example

Expand Down

0 comments on commit b225367

Please sign in to comment.