Skip to content

Commit

Permalink
Update migration-pickers-v6.md
Browse files Browse the repository at this point in the history
Fix small typo in dayOfWeekFormatter modified props code sample

Signed-off-by: Ryan Turinsky <Ryan.turinsky@gmail.com>
  • Loading branch information
StylesTrip committed Feb 13, 2024
1 parent 1deda05 commit 4cc7da0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -237,7 +237,7 @@ The string argument of the `dayOfWeekFormatter` prop has been replaced in favor

// If you were already using the day object, just remove the first argument.
- dayOfWeekFormatter={(_dayStr, day) => `${day.format('dd')}.`
+ dayOfWeekFormatter={day => `${day.format('dd')}.`
+ dayOfWeekFormatter={day => `${day.format('dd')}.`}
/>
```

Expand Down

0 comments on commit 4cc7da0

Please sign in to comment.