From 6134d38649416f5e97b8e9d2ed7a5989f006a6d2 Mon Sep 17 00:00:00 2001 From: JustinYT Date: Fri, 21 Nov 2025 15:40:36 +0800 Subject: [PATCH] docs: update swipe-gestures and button Signed-off-by: JustinYT --- en/react-native-button.md | 9 ++++++++- en/react-native-swipe-gestures.md | 6 ++++++ zh-cn/react-native-button.md | 10 +++++++--- zh-cn/react-native-swipe-gestures.md | 6 ++++++ 4 files changed, 27 insertions(+), 4 deletions(-) diff --git a/en/react-native-button.md b/en/react-native-button.md index 8a09ab17..a1d5f4d0 100644 --- a/en/react-native-button.md +++ b/en/react-native-button.md @@ -17,6 +17,12 @@ ## Installation and Usage +| Version | Support RN version | +| ------------------------- | -------------------------- | +| 3.1.0 | 0.72/0.77 | + +For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package. + Go to the project directory and execute the following instruction: @@ -111,9 +117,10 @@ react-native-harmony:0.72.20; SDK:HarmonyOS NEXT Developer Beta1; IDE:DevE | `androidBackground` | The background for android devices. | Background Prop Type | | No | Android | no | | `onPress` | Handler to be called when the user taps the button. | Function | | No | All | yes | - ## Known Issues +-[ ] The allowFontScaling property is invalid, and the text font does not change with the modification of the system font.[issue#99](https://github.com/ide/react-native-button/issues/99) + ## Others ## License diff --git a/en/react-native-swipe-gestures.md b/en/react-native-swipe-gestures.md index 147f9ba5..681c477e 100644 --- a/en/react-native-swipe-gestures.md +++ b/en/react-native-swipe-gestures.md @@ -20,6 +20,12 @@ ## Installation and Usage +| Version | Support RN version | +| ------------------------- | -------------------------- | +| 1.0.5 | 0.72/0.77 | + +For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package. + Go to the project directory and execute the following instruction: diff --git a/zh-cn/react-native-button.md b/zh-cn/react-native-button.md index 2eb77586..aaa75597 100644 --- a/zh-cn/react-native-button.md +++ b/zh-cn/react-native-button.md @@ -17,6 +17,12 @@ ## 安装与使用 +| 三方库版本 | 支持RN版本 | +| ------------------------- | -------------------------- | +| 3.1.0 | 0.72/0.77 | + +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 + 进入到工程目录并输入以下命令: @@ -113,11 +119,9 @@ react-native-harmony:0.72.20; SDK:HarmonyOS NEXT Developer Beta1; IDE:DevE | `androidBackground` | The background for android devices. | Background Prop Type | | No | Android | no | | `onPress` | Handler to be called when the user taps the button. | Function | | No | All | yes | - - ## 遗留问题 - 无 +-[ ] allowFontScaling属性无效,文本字体不跟随系统字体的修改而变化。[issue#99](https://github.com/ide/react-native-button/issues/99) ## 其他 diff --git a/zh-cn/react-native-swipe-gestures.md b/zh-cn/react-native-swipe-gestures.md index 69557649..27b99b0a 100644 --- a/zh-cn/react-native-swipe-gestures.md +++ b/zh-cn/react-native-swipe-gestures.md @@ -20,6 +20,12 @@ ## 安装与使用 +| 三方库版本 | 支持RN版本 | +| ------------------------- | -------------------------- | +| 1.0.5 | 0.72/0.77 | + +对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 + 进入到工程目录并输入以下命令: -- Gitee