From 7a76aecb30639eaa20cc188f6016de16356ce96d Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Wed, 19 Feb 2025 21:42:59 +1100 Subject: [PATCH] fix: clarify localization note in SingleDatePicker documentation regarding screen reader impact --- src/components/SingleDatePicker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SingleDatePicker.tsx b/src/components/SingleDatePicker.tsx index cb97e0a..f6c47ee 100644 --- a/src/components/SingleDatePicker.tsx +++ b/src/components/SingleDatePicker.tsx @@ -26,7 +26,7 @@ interface Props { * function that will be called when a date is selected inside the panel. * @param {string} props.localization - The language code that will be used to localize the panel. * Accept standard ISO 639-1 language code, such as 'zh-CN', 'en-US', 'ja-JP', etc. Default to the - * language of the user’s browser. + * language of the user’s browser. Note that it will not effect to the screen reader. */ export default ({ value, onSelect, localization }: Props) => { const [currentMonth, setCurrentMonth] = useState(new Date().getMonth())