diff --git a/en/react-native-drop-shadow.md b/en/react-native-drop-shadow.md index 9c31dc21d1f31c4d698e911dac5f1f6f1e6c6d53..7d2689d54efa746362a5769d13a0a6b2752ca020 100644 --- a/en/react-native-drop-shadow.md +++ b/en/react-native-drop-shadow.md @@ -17,20 +17,36 @@ ## Installation and Usage +| Library Version | Supported RN Version | +| --------------- | -------------------- | +| 1.0.0 | 0.72 | +| 1.0.3 | 0.77 | + +Navigate to the project directory and enter the following command: + #### **npm** ```bash +# V1.0.0 npm install react-native-drop-shadow@1.0.0 + +# V1.0.3 +npm install react-native-drop-shadow@1.0.3 ``` -#### **yarn** +#### **yarn** ```bash +# V1.0.0 yarn add react-native-drop-shadow@1.0.0 + +# V1.0.3 +yarn add react-native-drop-shadow@1.0.3 ``` + The following code shows the basic use scenario of the repository: @@ -129,6 +145,8 @@ react-native-harmony: 0.72.23; SDK: HarmonyOS NEXT Developer Beta1; IDE: DevEco react-native-harmony: 0.72.33; SDK: Openharmony 5.0.0.71(API Version 12 Release); IDE: DevEco Studio: 5.0.3.900; ROM: Next.0.0.71; +react-native-harmony: 0.77.18; SDK:HarmonyOS 6.0.0.47 (API Version 20); IDE:DevEco Studio 6.0.0.858; ROM:6.0.0.107; + ## Properties > [!TIP] The **Platform** column indicates the platform where the properties are supported in the original third-party library. diff --git a/zh-cn/react-native-drop-shadow.md b/zh-cn/react-native-drop-shadow.md index 1f2303ef90c7ac3b8884949c9efe4dcf86148a0a..066fd258fac6e125f102d304f59c39807a4c96a9 100644 --- a/zh-cn/react-native-drop-shadow.md +++ b/zh-cn/react-native-drop-shadow.md @@ -17,20 +17,36 @@ ## 安装与使用 +| 三方库版本 | 支持RN版本 | +| ---------- | ---------- | +| 1.0.0 | 0.72 | +| 1.0.3 | 0.77 | + +进入到工程目录并输入以下命令: + #### **npm** ```bash +# V1.0.0 npm install react-native-drop-shadow@1.0.0 + +# V1.0.3 +npm install react-native-drop-shadow@1.0.3 ``` -#### **yarn** +#### **yarn** ```bash +# V1.0.0 yarn add react-native-drop-shadow@1.0.0 + +# V1.0.3 +yarn add react-native-drop-shadow@1.0.3 ``` + 下面的代码展示了这个库的基本使用场景: @@ -129,6 +145,8 @@ react-native-harmony: 0.72.23; SDK: HarmonyOS NEXT Developer Beta1; IDE: DevEco react-native-harmony: 0.72.33; SDK: Openharmony 5.0.0.71(API Version 12 Release); IDE: DevEco Studio: 5.0.3.900; ROM: Next.0.0.71; +react-native-harmony: 0.77.18; SDK:HarmonyOS 6.0.0.47 (API Version 20); IDE:DevEco Studio 6.0.0.858; ROM:6.0.0.107; + ## 属性 > [!TIP] "Platform"列表示该属性在原三方库上支持的平台。