diff --git a/website/docs/docs/translation.mdx b/website/docs/docs/translation.mdx index ca9481593..8fcf79103 100644 --- a/website/docs/docs/translation.mdx +++ b/website/docs/docs/translation.mdx @@ -30,7 +30,7 @@ The `labels` prop allows you to customize the [ARIA labels](../guides/accessibil ```tsx import { format } from "date-fns"; -import { it } from "react-day-picker/locale"; +import { it } from "date-fns/locale"; function ItalianLabels() { return ( @@ -88,7 +88,7 @@ The following labels are optional and should work out of the box in most languag To set the text direction to right-to-left, use the `dir` prop with the value `rtl`. ```tsx -import { arSA } from "react-day-picker/locale"; +import { arSA } from "date-fns/locale"; ; ```