From b618bf8f8f62b2dd13b05ca24e5ffc0b14a61374 Mon Sep 17 00:00:00 2001 From: 01xkp <1903679953@qq.com> Date: Fri, 22 Nov 2024 11:48:44 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=20=E4=BF=AE=E6=94=B9react-native-walkt?= =?UTF-8?q?hrough-tooltip=E6=8C=87=E5=AF=BC=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-walkthrough-tooltip.md | 4 ++-- zh-cn/react-native-walkthrough-tooltip.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en/react-native-walkthrough-tooltip.md b/en/react-native-walkthrough-tooltip.md index eaad6250..04e9a89a 100644 --- a/en/react-native-walkthrough-tooltip.md +++ b/en/react-native-walkthrough-tooltip.md @@ -72,7 +72,7 @@ This document is verified based on the following versions: | Name | Description | Type | Required | Platform | HarmonyOS Support | | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -------- | -------- | ----------------- | -| accessible | Set this to false if you do not want the root touchable element to be accessible. [See docs on accessible here](https://reactnative.dev/docs/accessibility#accessibility-properties) | bool | No | All | Yes | +| accessible | Set this to false if you do not want the root touchable element to be accessible. [See docs on accessible here](https://reactnative.dev/docs/accessibility#accessibility-properties) | bool | No | All | No | | allowChildInteraction | By default, the user can touch and interact with the child element. When this prop is false, the user cannot interact with the child element while the tooltip is visible. | bool | No | All | Yes | | arrowSize | The dimensions of the arrow on the bubble pointing to the highlighted element | Size | No | All | Yes | | backgroundColor | Color of the fullscreen background beneath the tooltip. Overrides the backgroundStyle prop | string | No | All | Yes | @@ -95,7 +95,7 @@ This document is verified based on the following versions: ## Known Issues - [ ] supportedOrientations 在 HarmonyOS 不支持 - +- [ ] accessible 在 HarmonyOS 不支持 ## Others ## License diff --git a/zh-cn/react-native-walkthrough-tooltip.md b/zh-cn/react-native-walkthrough-tooltip.md index 41147d2a..62f5e0d8 100644 --- a/zh-cn/react-native-walkthrough-tooltip.md +++ b/zh-cn/react-native-walkthrough-tooltip.md @@ -69,7 +69,7 @@ export const TestTooltip = ({ text, style }) => { [!TIP]"HarmonyOS Support"列为 yes 表示 HarmonyOS 平台支持该属性;no 则表示不支持;partially 表示部分支持。使用方法跨平台一致,效果对标 iOS 或 Android 的效果 | Name | Description | Type | Required | Platform | HarmonyOS Support | | ------------------- | ------------------------------------------------------------ | -------- | -------- | ----------- | ----------------- | -| accessible | Set this to false if you do not want the root touchable element to be accessible. [See docs on accessible here](https://reactnative.dev/docs/accessibility#accessibility-properties) | bool| No | All |Yes | +| accessible | Set this to false if you do not want the root touchable element to be accessible. [See docs on accessible here](https://reactnative.dev/docs/accessibility#accessibility-properties) | bool| No | All |No | | allowChildInteraction |By default, the user can touch and interact with the child element. When this prop is false, the user cannot interact with the child element while the tooltip is visible. | bool | No | All | Yes | | arrowSize |The dimensions of the arrow on the bubble pointing to the highlighted element | Size | No |All | Yes | backgroundColor |Color of the fullscreen background beneath the tooltip. Overrides the backgroundStyle prop | string | No |All | Yes @@ -91,7 +91,7 @@ export const TestTooltip = ({ text, style }) => { ## 遗留问题 - [ ] supportedOrientations在HarmonyOS不支持 - +- [ ] accessible在HarmonyOS不支持 ## 其他 ## 开源协议 -- Gitee