From 6aa4597aea6592eb472bf201bd7f43edd6a3040e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Salmer=C3=B3n=20Robles?= Date: Thu, 12 Jun 2025 12:40:44 +0200 Subject: [PATCH] docs(translation): Fix wrong import on example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gonzalo Salmerón Robles --- website/docs/docs/translation.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; ; ```