diff --git a/en/react-native-swiper-flatlist.md b/en/react-native-swiper-flatlist.md index 1dc8cf4a278ffa40ca76991ecb189457c57f669f..231e2b866f354536ae3e01f2b6cfe8c75648fa4d 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 fb7dcca6041f16d8085026256712a684c41faf0d..9e39b91b268c2f39a643315940083d128c096b08 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` | 分页默认颜色 | 字符串 | 否 | 全平台 | 是 |