diff --git a/en/react-native-nested-scroll.md b/en/react-native-nested-scroll.md index 310424fd1539d4a7155ab3d84bd54e2be8c4f86a..8288101278ebf98dba9d8b1cccd8c9c83afcd5a4 100644 --- a/en/react-native-nested-scroll.md +++ b/en/react-native-nested-scroll.md @@ -146,7 +146,7 @@ Method 2: Directly linking the source code > [!TIP] > To link the source code directly, please refer to the [instructions for linking source code directly](/zh-cn/link-source-code.md). -### 2.3 Configure CMakeLists and Import LinearGradientPackage +### 2.3 Configure CMakeLists and Import NestedScrollViewPackage Open `entry/src/main/cpp/CMakeLists.txt` and add the following: diff --git a/zh-cn/react-native-nested-scroll.md b/zh-cn/react-native-nested-scroll.md index d2792f7870b0d7625fe627b287cdfc89920b5073..1183f32f4e2df717bdc222c2745ead37d1eb7f0d 100644 --- a/zh-cn/react-native-nested-scroll.md +++ b/zh-cn/react-native-nested-scroll.md @@ -144,7 +144,7 @@ ohpm install > [!TIP] 如需使用直接链接源码,请参考[直接链接源码说明](/zh-cn/link-source-code.md) -### 2.3 配置 CMakeLists 和引入 LinearGradientPackage +### 2.3 配置 CMakeLists 和引入 NestedScrollViewPackage 打开 `entry/src/main/cpp/CMakeLists.txt`,添加: