From cc3a3d332c27c8ccc599e2c90c91279d5e8c8eb1 Mon Sep 17 00:00:00 2001 From: dengpeng Date: Mon, 8 Jan 2024 14:16:43 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[Issues:=20#I8UCYF]=20=E6=9B=B4=E6=96=B0pro?= =?UTF-8?q?gress-bar-android?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/progress-bar-android.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/zh-cn/progress-bar-android.md b/zh-cn/progress-bar-android.md index a7681806..6a340f59 100644 --- a/zh-cn/progress-bar-android.md +++ b/zh-cn/progress-bar-android.md @@ -1,4 +1,4 @@ -> 模板版本:v0.0.1 +> 模板版本:v0.1.2

@react-native-community/progress-bar-android

@@ -12,21 +12,17 @@

-## 安装与使用 - -> [!tip] 目前部分 React-Native-OpenHarmony(RNOH) 三方库的 npm 包部署在私仓,需要通过 github token 来获取访问权限。 - -在与 `package.json` 文件相同的目录中,创建或编辑 `.npmrc` 文件以包含指定 GitHub Packages URL 和托管包的命名空间的行。 将 TOKEN 替换为 RNOH 三方库指定的 token。 +> [!tip] [Github 地址](https://github.com/react-native-oh-library/progress-bar-android/releases) -```bash -@react-native-oh-library:registry=https://npm.pkg.github.com -//npm.pkg.github.com/:_authToken=TOKEN -``` +## 安装与使用 进入到工程目录并输入以下命令: +**正在 npm 发布中,当前请先从仓库[Release](https://github.com/react-native-oh-library/progress-bar-android/releases)中获取库 tgz,通过使用本地依赖来安装本库。** + + #### **yarn** ```bash @@ -205,9 +201,13 @@ ohpm install ## 属性 +> [!tip] "Platform"列表示该属性在原三方库上支持的平台。 + +> [!tip] "HarmonyOS Support"列为 yes 表示 HarmonyOS 平台支持该属性;no 则表示不支持;partially 表示部分支持。使用方法跨平台一致,效果对标 iOS 或 Android 的效果。 + Inherits [View Props](https://reactnative.dev/docs/view#props). -| 名称 | 说明 | 类型 | 是否必填 | 原库平台 | 鸿蒙支持 | +| Name | Description | Type | Required | Required | HarmonyOS Support | | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------- | -------- | -------- | | `animating` | Whether to show the ProgressBar (true, the default) or hide it (false). | bool | No | Android | yes | | `color` | Color of the progress bar. | [color](https://reactnative.dev/docs/colors) | No | Android | yes | -- Gitee From 2dea2c205ea6dde0ab20df501cd946aa8e19213d Mon Sep 17 00:00:00 2001 From: dengpeng Date: Mon, 8 Jan 2024 14:48:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[Issues:=20#I8UEZT]=20=E6=9B=B4=E6=96=B0sli?= =?UTF-8?q?der?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/react-native-slider.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/zh-cn/react-native-slider.md b/zh-cn/react-native-slider.md index 15b9d8c8..f2649867 100644 --- a/zh-cn/react-native-slider.md +++ b/zh-cn/react-native-slider.md @@ -1,4 +1,4 @@ -> 模板版本:v0.0.1 +> 模板版本:v0.1.2

@react-native-community/slider

@@ -12,21 +12,16 @@

-## 安装与使用 - -> [!tip] 目前 React-Native-OpenHarmony(RNOH) 三方库的 npm 包部署在私仓,需要通过 github token 来获取访问权限。 - -在与 `package.json` 文件相同的目录中,创建或编辑 `.npmrc` 文件以包含指定 GitHub Packages URL 和托管包的命名空间的行。 将 TOKEN 替换为 RNOH 三方库指定的 token。 +> [!tip] [Github 地址](https://github.com/react-native-oh-library/react-native-slider/releases) -```bash -@react-native-oh-library:registry=https://npm.pkg.github.com -//npm.pkg.github.com/:_authToken=TOKEN -``` +## 安装与使用 进入到工程目录并输入以下命令: +**正在 npm 发布中,当前请先从仓库[Release](https://github.com/react-native-oh-library/react-native-slider/releases)中获取库 tgz,通过使用本地依赖来安装本库。** + #### **yarn** ```bash @@ -211,7 +206,11 @@ ohpm install ## 属性 -| 名称 | 说明 | 类型 | 是否必填 | 原库平台 | 鸿蒙支持 | +> [!tip] "Platform"列表示该属性在原三方库上支持的平台。 + +> [!tip] "HarmonyOS Support"列为 yes 表示 HarmonyOS 平台支持该属性;no 则表示不支持;partially 表示部分支持。使用方法跨平台一致,效果对标 iOS 或 Android 的效果。 + +| Name | Description | Description | Description | Platform | HarmonyOS Support | | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | -------- | ------------ | -------- | | `style` | Used to style and layout the `Slider`. See `StyleSheet.js` and `ViewStylePropTypes.js` for more info. | View.style | No | All | yes | | `disabled` | If true the user won't be able to move the slider.
Default value is false. | bool | No | All | yes | -- Gitee