Skip to content

Commit

Permalink
docs: update selection-modes.mdx (#2254)
Browse files Browse the repository at this point in the history
  • Loading branch information
xardit authored Jul 7, 2024
1 parent d0ab3b9 commit 037691d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/using-daypicker/selection-modes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ To disable specific days, use the `disabled` prop. The prop accepts a [`Matcher`
```tsx
<DayPicker
mode="range"
disabled={{ daysOfWeek: [0, 6] }} // Disable including Sundays and Saturdays in range
disabled={{ dayOfWeek: [0, 6] }} // Disable including Sundays and Saturdays in range
/>
```

Expand Down

0 comments on commit 037691d

Please sign in to comment.