From 12a75e2c2313ab4f5e444bb4e207cb09cc28f124 Mon Sep 17 00:00:00 2001 From: fangzi155 Date: Mon, 15 Dec 2025 20:52:20 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=94=B9react-native-router-f?= =?UTF-8?q?lux=E7=9A=84=E4=B8=AD=E8=8B=B1=E6=96=87=E6=8C=87=E5=AF=BC?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangzi155 --- en/react-native-router-flux.md | 15 ++++++++++----- zh-cn/react-native-router-flux.md | 15 ++++++++++----- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/en/react-native-router-flux.md b/en/react-native-router-flux.md index 83c682d0b..d63b30c18 100644 --- a/en/react-native-router-flux.md +++ b/en/react-native-router-flux.md @@ -9,9 +9,10 @@ Please visit the Releases page of the third-party library to check the corresponding version information: -| Version | Releases info | Support RN version | -|---------|-----------------------------------------------------------------------------------------------------------------------------|-----------| -| 4.3.2 | [@react-native-ohos/react-native-router-flux Releases](https://github.com/react-native-oh-library/react-native-router-flux/releases) | 0.72/0.77 | +| Version | Package Name | Repository | Release | Supported RN Version | +| ------------------------- | -------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -------------------- | +| 4.3.2 | @react-native-ohos/react-native-router-flux | [Github](https://github.com/react-native-oh-library/react-native-router-flux) | [GitCode Releases](https://github.com/react-native-oh-library/react-native-router-flux/releases) | 0.72/0.77 | + ## 1. install and use ### 0.72 @@ -394,7 +395,7 @@ Defines all configuration options for the stack navigator. | ---- | ----------- | ---- | -------- | -------- | ------------------ | | navigationBarStyle | Navigation bar style | style | no | iOS/Android | yes | | icon | Icon | object | no | iOS/Android | yes | -| tintColor | Tint color | string | no | iOS/Android | yes | +| tintColor | Stack and Screen Component Title Color | string | no | iOS/Android | yes | | hideNavBar | Whether to hide navigation bar | boolean | no | iOS/Android | yes | | hideTabBar | Whether to hide tab bar | boolean | no | iOS/Android | yes | | title | Title | string | no | iOS/Android | yes | @@ -447,7 +448,11 @@ These constants are used to explicitly specify navigation behavior in route conf ## 7. Known Issues ## 8. Others - +Router:backAndroidHandler android only +Scene:modal Source library does not support. +Actions:popAndPush Source library does not support. +Actions:addRef The ref attribute is added to components for internal use only and does not expose a public interface. This definition is not present in the getRef library. +ActionConstShort:ANDROID_BACK android only ## 9. License This project is licensed under [The MIT License (MIT)](https://github.com/aksonov/react-native-router-flux/blob/master/LICENSE). diff --git a/zh-cn/react-native-router-flux.md b/zh-cn/react-native-router-flux.md index 097168b35..5d2b38fc0 100644 --- a/zh-cn/react-native-router-flux.md +++ b/zh-cn/react-native-router-flux.md @@ -9,9 +9,10 @@ 请到三方库的 Releases 发布地址查看配套的版本信息: -| 三方库版本 | 发布信息 | 支持RN版本 | -|---------|-----------------------------------------------------------------------------------------------------------------------------|-----------| -| 4.3.2 | [@react-native-ohos/react-native-router-flux Releases](https://github.com/react-native-oh-library/react-native-router-flux/releases) | 0.72/0.77 | +| Version | Package Name | Repository | Release | Supported RN Version | +| ------------------------- | -------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -------------------- | +| 4.3.2 | @react-native-ohos/react-native-router-flux | [Github](https://github.com/react-native-oh-library/react-native-router-flux) | [GitCode Releases](https://github.com/react-native-oh-library/react-native-router-flux/releases) | 0.72/0.77 | + ## 1. 安装与使用 ### 0.72 @@ -399,7 +400,7 @@ Router 管理整个应用的页面导航和转场效果。 | ---- | ----------- | ---- | -------- | -------- | ------------------ | | navigationBarStyle | 导航栏样式 | style | no | iOS/Android | yes | | icon | 图标 | object | no | iOS/Android | yes | -| tintColor | 色调颜色 | string | no | iOS/Android | yes | +| tintColor | 栈和屏幕组件标题颜色 | string | no | iOS/Android | yes | | hideNavBar | 是否隐藏导航栏 | boolean | no | iOS/Android | yes | | hideTabBar | 是否隐藏标签栏 | boolean | no | iOS/Android | yes | | title | 标题 | string | no | iOS/Android | yes | @@ -452,7 +453,11 @@ Router 管理整个应用的页面导航和转场效果。 ## 7. 遗留问题 ## 8. 其他 - +Router:backAndroidHandler android独有 +Scene:modal 是否以模态形式显示 源库不支持 +Actions:popAndPush 返回并推入新场景方法 源库未实现,不支持 +Actions:addRef 属性是对组件添加引用而内部使用,没有提供对外暴露ref的使用接口。getRef库中没有该定义 +ActionConstShort:ANDROID_BACK Android返回键动作类型 android独有 ## 9. 开源协议 本项目基于 [The MIT License (MIT)](https://github.com/aksonov/react-native-router-flux/blob/master/LICENSE) ,请自由地享受和参与开源。 -- Gitee