From 16d86cf0b01e6b89e704a3fd60822885ffa6ef14 Mon Sep 17 00:00:00 2001 From: liang Date: Wed, 29 Oct 2025 19:57:56 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issue:ID43IE]=E6=9B=B4=E6=96=B0react-n?= =?UTF-8?q?ative-swiper-flatlist=E5=BA=93=E4=B8=AD=E8=8B=B1=E6=96=87?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-swiper-flatlist.md | 5 +++-- zh-cn/react-native-swiper-flatlist.md | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/en/react-native-swiper-flatlist.md b/en/react-native-swiper-flatlist.md index 1dc8cf4a..231e2b86 100644 --- a/en/react-native-swiper-flatlist.md +++ b/en/react-native-swiper-flatlist.md @@ -16,6 +16,7 @@ ## Installation and Usage +Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-swiper-flatlist Releases](https://github.com/react-native-oh-library/react-native-swiper-flatlist/releases/). Go to the project directory and execute the following instruction: @@ -23,13 +24,13 @@ Go to the project directory and execute the following instruction: #### **npm** ```bash -npm install react-native-swiper-flatlist@3.2.5 +npm install --save @react-native-oh-tpl/react-native-swiper-flatlist ``` #### **yarn** ```bash -yarn add react-native-swiper-flatlist@3.2.5 +yarn add @react-native-oh-tpl/react-native-swiper-flatlist ``` diff --git a/zh-cn/react-native-swiper-flatlist.md b/zh-cn/react-native-swiper-flatlist.md index fb7dcca6..9e39b91b 100644 --- a/zh-cn/react-native-swiper-flatlist.md +++ b/zh-cn/react-native-swiper-flatlist.md @@ -16,20 +16,21 @@ ## 安装与使用 -进入项目目录并执行以下指令: +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-swiper-flatlist Releases](https://github.com/react-native-oh-library/swiper-flatlist/releases/) 。 +进入到工程目录并输入以下命令: #### **npm** ```bash -npm install react-native-swiper-flatlist@3.2.5 +npm install --save @react-native-oh-tpl/react-native-swiper-flatlist ``` #### **yarn** ```bash -yarn add react-native-swiper-flatlist@3.2.5 +yarn add @react-native-oh-tpl/react-native-swiper-flatlist ``` @@ -150,6 +151,7 @@ react-native-harmony:0.77.18;SDK:HarmonyOS 5.1.0.125;IDE:DevEco Studio ### Pagination 属性 > [!提示] Pagination的属性除'paginationIndex'与'size'外,SwiperFlatListWithGestureHandler与SwiperFlatList组件也可以使用。 + | 名称 | 描述 | 类型 | 必填 | 平台 | HarmonyOS 支持 | | :--- | :--- | :--- | :--- | :--- | :--- | | `paginationDefaultColor` | 分页默认颜色 | 字符串 | 否 | 全平台 | 是 | -- Gitee