From d33a2f084041d1a6ba23b2f26651aa61ce6bd681 Mon Sep 17 00:00:00 2001 From: qinjianqi Date: Thu, 14 Nov 2024 12:22:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20[Issues:=20#IB45S3]=20=E5=B0=86?= =?UTF-8?q?=E6=8C=87=E5=AF=BC=E6=96=87=E6=A1=A3=E5=AE=89=E8=A3=85=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E6=94=B9=E4=B8=BA=E4=BD=BF=E7=94=A8npm=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E4=B8=89=E6=96=B9=E5=BA=93=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/NativeBase.md | 6 +++--- zh-cn/bam-tech-react-native-image-resizer.md | 8 +++----- zh-cn/baronha-ting.md | 8 +++----- zh-cn/gorhom-bottom-sheet.md | 6 +++--- zh-cn/jpush-react-native.md | 8 +++----- zh-cn/klarna-platform-colors.md | 8 +++----- zh-cn/lottie-react-native.md | 8 +++----- zh-cn/mixpanel-react-native.md | 8 ++++---- zh-cn/nativewind.md | 8 +++----- zh-cn/react-content-loader.md | 8 +++----- zh-cn/react-native-MJRefresh.md | 8 +++----- zh-cn/react-native-QRCode.md | 8 +++----- zh-cn/react-native-SmartRefreshLayout.md | 8 +++----- zh-cn/react-native-alipay.md | 8 +++----- zh-cn/react-native-amap-geolocation.md | 8 +++----- zh-cn/react-native-amap3d.md | 8 +++----- zh-cn/react-native-apple-authentication.md | 7 +++---- zh-cn/react-native-async-storage-async-storage.md | 8 +++----- zh-cn/react-native-audio-recorder-player.md | 8 +++----- zh-cn/react-native-audio-toolkit.md | 8 +++----- zh-cn/react-native-audio.md | 8 +++----- zh-cn/react-native-autoheight-webview.md | 8 +++----- zh-cn/react-native-background-fetch.md | 8 +++----- zh-cn/react-native-background-timer.md | 8 +++----- zh-cn/react-native-baidu-map.md | 8 +++----- zh-cn/react-native-barcode-builder.md | 8 +++----- zh-cn/react-native-bars.md | 8 +++----- zh-cn/react-native-better-banner.md | 8 +++----- zh-cn/react-native-bindingx.md | 8 +++----- zh-cn/react-native-ble-manager.md | 8 +++----- zh-cn/react-native-ble-plx.md | 8 +++----- zh-cn/react-native-blob-util.md | 8 +++----- zh-cn/react-native-bootsplash.md | 8 +++----- zh-cn/react-native-calendar-events.md | 8 +++----- zh-cn/react-native-camera-kit.md | 7 +++---- zh-cn/react-native-cameraroll.md | 8 +++----- zh-cn/react-native-cardview.md | 8 +++----- zh-cn/react-native-charts-wrapper.md | 8 +++----- zh-cn/react-native-clipboard-clipboard.md | 8 +++----- zh-cn/react-native-clippath-capi.md | 8 +++----- zh-cn/react-native-clippathview.md | 8 +++----- zh-cn/react-native-code-push.md | 8 +++----- zh-cn/react-native-color-matrix-image-filters.md | 8 +++----- zh-cn/react-native-community-blur.md | 8 +++----- zh-cn/react-native-community-checkbox.md | 8 +++----- zh-cn/react-native-community-datetimepicker.md | 8 +++----- zh-cn/react-native-community-geolocation.md | 8 +++----- zh-cn/react-native-community-netinfo.md | 8 +++----- zh-cn/react-native-community-progress-bar-android.md | 8 +++----- zh-cn/react-native-community-progress-view-capi.md | 8 +++----- zh-cn/react-native-community-progress-view.md | 8 +++----- zh-cn/react-native-community-push-notification-ios.md | 8 +++----- zh-cn/react-native-community-segmented-control.md | 8 +++----- zh-cn/react-native-community-slider.md | 8 +++----- zh-cn/react-native-community-toolbar-android.md | 8 +++----- zh-cn/react-native-compass-heading.md | 8 +++----- zh-cn/react-native-config.md | 8 +++----- zh-cn/react-native-contacts.md | 8 +++----- zh-cn/react-native-context-menu-view.md | 8 +++----- zh-cn/react-native-cookies-cookies.md | 8 +++----- zh-cn/react-native-country-picker-modal.md | 8 ++++---- zh-cn/react-native-create-thumbnail.md | 8 ++++---- zh-cn/react-native-credit-card-input.md | 7 +++---- zh-cn/react-native-custom-keyboard.md | 8 +++----- zh-cn/react-native-date-picker.md | 8 +++----- zh-cn/react-native-default-preference.md | 8 +++----- zh-cn/react-native-device-info.md | 8 +++----- zh-cn/react-native-doc-viewer.md | 8 +++----- zh-cn/react-native-document-picker.md | 8 ++++---- zh-cn/react-native-drag-sort.md | 8 +++----- zh-cn/react-native-drax.md | 8 +++----- zh-cn/react-native-email-link.md | 8 +++----- zh-cn/react-native-exception-handler.md | 8 +++----- zh-cn/react-native-exit-app.md | 8 +++----- zh-cn/react-native-fast-image.md | 8 +++----- zh-cn/react-native-file-access.md | 8 +++----- zh-cn/react-native-file-selector.md | 8 +++----- zh-cn/react-native-file-viewer.md | 8 +++----- zh-cn/react-native-fileupload.md | 8 +++----- zh-cn/react-native-fingerprint-scanner.md | 8 +++----- zh-cn/react-native-fs.md | 8 +++----- zh-cn/react-native-gesture-handler.md | 8 +++----- zh-cn/react-native-get-random-values.md | 8 +++----- zh-cn/react-native-gifted-charts.md | 8 +++----- zh-cn/react-native-haptic-feedback.md | 8 +++----- zh-cn/react-native-hole-view.md | 8 ++++---- zh-cn/react-native-http-bridge.md | 8 +++----- zh-cn/react-native-idfa-aaid.md | 8 +++----- zh-cn/react-native-idle-timer.md | 8 +++----- zh-cn/react-native-image-capinsets-next.md | 8 +++----- zh-cn/react-native-image-colors.md | 8 +++----- zh-cn/react-native-image-crop-picker.md | 6 +++--- zh-cn/react-native-image-editor.md | 6 +++--- zh-cn/react-native-image-gallery.md | 10 +++------- zh-cn/react-native-image-header-scroll-view.md | 8 +++----- zh-cn/react-native-image-pan-zoom.md | 8 +++----- zh-cn/react-native-image-picker.md | 8 +++----- zh-cn/react-native-image-sequence-2.md | 8 +++----- zh-cn/react-native-image-viewing.md | 8 +++----- zh-cn/react-native-image-zoom-viewer.md | 8 +++----- zh-cn/react-native-inappbrowser.md | 8 +++----- zh-cn/react-native-input-scroll-view.md | 8 +++----- zh-cn/react-native-intersection-observer.md | 8 +++----- zh-cn/react-native-iphone-screen-helper.md | 8 +++----- zh-cn/react-native-keep-awake.md | 7 +++---- zh-cn/react-native-keyboard-aware-scroll-view.md | 8 +++----- zh-cn/react-native-keys.md | 8 ++++---- zh-cn/react-native-largelist.md | 8 ++++---- zh-cn/react-native-localization-settings.md | 8 +++----- zh-cn/react-native-localization.md | 8 +++----- zh-cn/react-native-localize.md | 7 +++---- zh-cn/react-native-map-linking.md | 9 +++------ zh-cn/react-native-maps.md | 8 +++----- zh-cn/react-native-markdown-display.md | 8 +++----- zh-cn/react-native-markdown-renderer.md | 10 ++++------ zh-cn/react-native-marquee.md | 8 +++----- zh-cn/react-native-masked-view-masked-view.md | 8 +++----- zh-cn/react-native-material-buttons.md | 8 +++----- zh-cn/react-native-material-dropdown.md | 8 +++----- zh-cn/react-native-material-textfield.md | 8 +++----- zh-cn/react-native-material-ui.md | 8 +++----- zh-cn/react-native-mlkit-ocr.md | 8 +++----- zh-cn/react-native-mmkv-storage.md | 8 +++----- zh-cn/react-native-modal-popover.md | 8 +++----- zh-cn/react-native-modal.md | 8 +++----- zh-cn/react-native-modalbox.md | 8 +++----- zh-cn/react-native-multi-slider.md | 8 +++----- zh-cn/react-native-neomorph-shadows.md | 8 +++----- zh-cn/react-native-nested-scroll-view.md | 8 +++----- zh-cn/react-native-network-info.md | 8 +++----- zh-cn/react-native-ohos-community-auto-fill.md | 8 +++----- zh-cn/react-native-orientation-locker.md | 7 +++---- zh-cn/react-native-orientation.md | 7 +++---- zh-cn/react-native-pager-view.md | 8 +++----- zh-cn/react-native-pdf.md | 6 +++--- zh-cn/react-native-performance.md | 8 +++----- zh-cn/react-native-permissions.md | 6 +++--- zh-cn/react-native-picker-picker.md | 8 +++----- zh-cn/react-native-picker-select.md | 8 +++----- zh-cn/react-native-picker.md | 8 +++----- zh-cn/react-native-popover-view.md | 8 +++----- zh-cn/react-native-print.md | 8 +++----- zh-cn/react-native-progress.md | 8 +++----- zh-cn/react-native-pull.md | 8 +++----- zh-cn/react-native-qr-decode-image-camera.md | 8 +++----- zh-cn/react-native-quick-base64.md | 8 +++----- zh-cn/react-native-randombytes.md | 8 ++++---- zh-cn/react-native-reanimated-bottom-sheet.md | 6 +++--- zh-cn/react-native-reanimated.md | 8 +++----- zh-cn/react-native-restart.md | 8 +++----- zh-cn/react-native-root-modal.md | 8 +++----- zh-cn/react-native-safe-area-context.md | 8 +++----- zh-cn/react-native-safe-module.md | 8 +++----- zh-cn/react-native-safe-modules.md | 8 +++----- zh-cn/react-native-screenshot-prevent.md | 8 +++----- zh-cn/react-native-scroll-bottom-sheet.md | 6 +++--- zh-cn/react-native-scrollable-tab-view.md | 8 +++----- zh-cn/react-native-securerandom.md | 7 +++---- zh-cn/react-native-send-intent.md | 7 +++---- zh-cn/react-native-sensitive-info.md | 8 +++----- zh-cn/react-native-sensors.md | 8 +++----- zh-cn/react-native-shake.md | 8 +++----- zh-cn/react-native-share.md | 8 +++----- zh-cn/react-native-shared-element.md | 8 +++----- zh-cn/react-native-signature-capture.md | 7 +++---- zh-cn/react-native-simple-toast.md | 8 +++----- zh-cn/react-native-skia.md | 8 +++----- zh-cn/react-native-slider.md | 8 +++----- zh-cn/react-native-snackbar.md | 8 +++----- zh-cn/react-native-snap-carousel.md | 8 +++----- zh-cn/react-native-sortable-list.md | 8 +++----- zh-cn/react-native-sound.md | 8 +++----- zh-cn/react-native-spinkit.md | 8 +++----- zh-cn/react-native-splash-screen.md | 8 +++----- zh-cn/react-native-spring-scrollview.md | 8 +++----- zh-cn/react-native-sqlite-storage.md | 8 +++----- zh-cn/react-native-ssl-pinning.md | 8 +++----- zh-cn/react-native-stickyheader.md | 8 +++----- zh-cn/react-native-svg-capi.md | 8 +++----- zh-cn/react-native-svg-charts.md | 8 +++----- zh-cn/react-native-svg.md | 8 +++----- zh-cn/react-native-swipe-list-view.md | 8 +++----- zh-cn/react-native-switch-pro.md | 8 +++----- zh-cn/react-native-syan-image-picker.md | 8 +++----- zh-cn/react-native-system-setting.md | 7 +++---- zh-cn/react-native-tab-navigator.md | 8 +++----- zh-cn/react-native-tab-view.md | 8 +++----- zh-cn/react-native-tcp-socket.md | 8 +++----- zh-cn/react-native-text-gradient.md | 8 +++----- zh-cn/react-native-text-input-mask.md | 8 +++----- 190 files changed, 579 insertions(+), 919 deletions(-) diff --git a/zh-cn/NativeBase.md b/zh-cn/NativeBase.md index cbe6082c..ace00b85 100644 --- a/zh-cn/NativeBase.md +++ b/zh-cn/NativeBase.md @@ -18,7 +18,7 @@ -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/native-base Releases](https://github.com/react-native-oh-library/NativeBase/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/native-base Releases](https://github.com/react-native-oh-library/NativeBase/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -28,13 +28,13 @@ #### **npm** ```bash -npm install @react-native-oh-tpl/native-base@file:# +npm install @react-native-oh-tpl/native-base ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/native-base@file:# +yarn add @react-native-oh-tpl/native-base ``` diff --git a/zh-cn/bam-tech-react-native-image-resizer.md b/zh-cn/bam-tech-react-native-image-resizer.md index 670b1bdf..805b7271 100644 --- a/zh-cn/bam-tech-react-native-image-resizer.md +++ b/zh-cn/bam-tech-react-native-image-resizer.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-resizer Releases](https://github.com/react-native-oh-library/react-native-image-resizer/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-resizer Releases](https://github.com/react-native-oh-library/react-native-image-resizer/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-image-resizer@file:# +npm install @react-native-oh-tpl/react-native-image-resizer ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-image-resizer@file:# +yarn add @react-native-oh-tpl/react-native-image-resizer ``` diff --git a/zh-cn/baronha-ting.md b/zh-cn/baronha-ting.md index 723d4294..bf92399f 100644 --- a/zh-cn/baronha-ting.md +++ b/zh-cn/baronha-ting.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/ting Releases](https://github.com/react-native-oh-library/ting/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/ting Releases](https://github.com/react-native-oh-library/ting/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/ting@file:# +npm install @react-native-oh-tpl/ting ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/ting@file:# +yarn add @react-native-oh-tpl/ting ``` diff --git a/zh-cn/gorhom-bottom-sheet.md b/zh-cn/gorhom-bottom-sheet.md index b174abf7..3d233138 100644 --- a/zh-cn/gorhom-bottom-sheet.md +++ b/zh-cn/gorhom-bottom-sheet.md @@ -16,20 +16,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/bottom-sheet Releases](https://github.com/react-native-oh-library/react-native-bottom-sheet/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/bottom-sheet Releases](https://github.com/react-native-oh-library/react-native-bottom-sheet/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 #### npm ```bash -npm install @react-native-oh-tpl/bottom-sheet@file:# +npm install @react-native-oh-tpl/bottom-sheet ``` #### yarn ```bash -yarn add @react-native-oh-tpl/bottom-sheet@file:# +yarn add @react-native-oh-tpl/bottom-sheet ``` diff --git a/zh-cn/jpush-react-native.md b/zh-cn/jpush-react-native.md index 831f28aa..4c86b965 100644 --- a/zh-cn/jpush-react-native.md +++ b/zh-cn/jpush-react-native.md @@ -17,23 +17,21 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/jpush-react-native Releases](https://github.com/react-native-oh-library/jpush-react-native/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/jpush-react-native Releases](https://github.com/react-native-oh-library/jpush-react-native/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/jpush-react-native@file:# +npm install @react-native-oh-tpl/jpush-react-native ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/jpush-react-native@file:# +yarn add @react-native-oh-tpl/jpush-react-native ``` diff --git a/zh-cn/klarna-platform-colors.md b/zh-cn/klarna-platform-colors.md index ad4f4497..06987533 100644 --- a/zh-cn/klarna-platform-colors.md +++ b/zh-cn/klarna-platform-colors.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/platform-colors Releases](https://github.com/react-native-oh-library/platform-colors/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/platform-colors Releases](https://github.com/react-native-oh-library/platform-colors/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/platform-colors@file:# +npm install @react-native-oh-tpl/platform-colors ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/platform-colors@file:# +yarn add @react-native-oh-tpl/platform-colors ``` 生成资源文件: diff --git a/zh-cn/lottie-react-native.md b/zh-cn/lottie-react-native.md index 2369ff66..482f4d79 100644 --- a/zh-cn/lottie-react-native.md +++ b/zh-cn/lottie-react-native.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/lottie-react-native Releases](https://github.com/react-native-oh-library/lottie-react-native/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/lottie-react-native Releases](https://github.com/react-native-oh-library/lottie-react-native/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/lottie-react-native@file:# +npm install @react-native-oh-tpl/lottie-react-native ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/lottie-react-native@file:# +yarn add @react-native-oh-tpl/lottie-react-native ``` diff --git a/zh-cn/mixpanel-react-native.md b/zh-cn/mixpanel-react-native.md index 0412a744..ec676a98 100644 --- a/zh-cn/mixpanel-react-native.md +++ b/zh-cn/mixpanel-react-native.md @@ -16,23 +16,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/mixpanel-react-native Releases](https://github.com/react-native-oh-library/mixpanel-react-native/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/mixpanel-react-native Releases](https://github.com/react-native-oh-library/mixpanel-react-native/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径。 + #### **npm** ```bash -npm install @react-native-oh-tpl/mixpanel-react-native@file:# +npm install @react-native-oh-tpl/mixpanel-react-native ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/mixpanel-react-native@file:# +yarn add @react-native-oh-tpl/mixpanel-react-native ``` diff --git a/zh-cn/nativewind.md b/zh-cn/nativewind.md index a0ee10e9..ecc4f7a7 100644 --- a/zh-cn/nativewind.md +++ b/zh-cn/nativewind.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/nativewind Releases](https://github.com/react-native-oh-library/nativewind/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/nativewind Releases](https://github.com/react-native-oh-library/nativewind/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/nativewind@file:# +npm install @react-native-oh-tpl/nativewind ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/nativewind@file:# +yarn add @react-native-oh-tpl/nativewind ``` #### **tailwind.config.js** diff --git a/zh-cn/react-content-loader.md b/zh-cn/react-content-loader.md index 0464395d..8b3c56dc 100644 --- a/zh-cn/react-content-loader.md +++ b/zh-cn/react-content-loader.md @@ -16,25 +16,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-content-loader Releases](https://github.com/react-native-oh-library/react-content-loader/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-content-loader Releases](https://github.com/react-native-oh-library/react-content-loader/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-content-loader@file:# +npm install @react-native-oh-tpl/react-content-loader ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-content-loader@file:# +yarn add @react-native-oh-tpl/react-content-loader ``` diff --git a/zh-cn/react-native-MJRefresh.md b/zh-cn/react-native-MJRefresh.md index cea150d9..edf04a23 100644 --- a/zh-cn/react-native-MJRefresh.md +++ b/zh-cn/react-native-MJRefresh.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-MJRefresh Releases](https://github.com/react-native-oh-library/react-native-MJRefresh/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-MJRefresh Releases](https://github.com/react-native-oh-library/react-native-MJRefresh/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### npm ```bash -npm install @react-native-oh-tpl/react-native-mjrefresh@file:# +npm install @react-native-oh-tpl/react-native-mjrefresh ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-mjrefresh@file:# +yarn add @react-native-oh-tpl/react-native-mjrefresh ``` diff --git a/zh-cn/react-native-QRCode.md b/zh-cn/react-native-QRCode.md index adcdd780..5e98cca2 100644 --- a/zh-cn/react-native-QRCode.md +++ b/zh-cn/react-native-QRCode.md @@ -17,24 +17,22 @@ ## 安装与使用 -1、请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-qrcode](https://github.com/react-native-oh-library/react-native-qrcode/releases),并下载适用版本的 tgz 包。 +1、请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-qrcode](https://github.com/react-native-oh-library/react-native-qrcode/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-qrcode@file:# +npm install @react-native-oh-tpl/react-native-qrcode ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-qrcode@file:# +yarn add @react-native-oh-tpl/react-native-qrcode ``` diff --git a/zh-cn/react-native-SmartRefreshLayout.md b/zh-cn/react-native-SmartRefreshLayout.md index 1ea3ec60..06d4a82e 100644 --- a/zh-cn/react-native-SmartRefreshLayout.md +++ b/zh-cn/react-native-SmartRefreshLayout.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-smartrefreshlayout Releases](https://github.com/react-native-oh-library/react-native-smartrefreshlayout/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-smartrefreshlayout Releases](https://github.com/react-native-oh-library/react-native-smartrefreshlayout/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-smartrefreshlayout@file:# +npm install @react-native-oh-tpl/react-native-smartrefreshlayout ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-smartrefreshlayout@file:# +yarn add @react-native-oh-tpl/react-native-smartrefreshlayout ``` diff --git a/zh-cn/react-native-alipay.md b/zh-cn/react-native-alipay.md index 6bb6d594..f7786c92 100644 --- a/zh-cn/react-native-alipay.md +++ b/zh-cn/react-native-alipay.md @@ -16,22 +16,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-alipay Releases](https://github.com/react-native-oh-library/react-native-alipay/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-alipay Releases](https://github.com/react-native-oh-library/react-native-alipay/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-alipay@file:# +npm install @react-native-oh-tpl/react-native-alipay ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-alipay@file:# +yarn add @react-native-oh-tpl/react-native-alipay ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/react-native-amap-geolocation.md b/zh-cn/react-native-amap-geolocation.md index eb072777..58aa7f9f 100644 --- a/zh-cn/react-native-amap-geolocation.md +++ b/zh-cn/react-native-amap-geolocation.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-amap-geolocation Releases](https://github.com/react-native-oh-library/react-native-amap-geolocation/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-amap-geolocation Releases](https://github.com/react-native-oh-library/react-native-amap-geolocation/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-amap-geolocation@file:# +npm install @react-native-oh-tpl/react-native-amap-geolocation ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-amap-geolocation@file:# +yarn add @react-native-oh-tpl/react-native-amap-geolocation ``` diff --git a/zh-cn/react-native-amap3d.md b/zh-cn/react-native-amap3d.md index a8b70ea3..9633e0c6 100644 --- a/zh-cn/react-native-amap3d.md +++ b/zh-cn/react-native-amap3d.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-amap3d Releases](https://github.com/react-native-oh-library/react-native-amap3d/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-amap3d Releases](https://github.com/react-native-oh-library/react-native-amap3d/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-amap3d@file:# +npm install @react-native-oh-tpl/react-native-amap3d ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-amap3d@file:# +yarn add @react-native-oh-tpl/react-native-amap3d ``` diff --git a/zh-cn/react-native-apple-authentication.md b/zh-cn/react-native-apple-authentication.md index 858b71db..6fd7b461 100644 --- a/zh-cn/react-native-apple-authentication.md +++ b/zh-cn/react-native-apple-authentication.md @@ -22,24 +22,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-apple-authentication Releases](https://github.com/react-native-oh-library/react-native-apple-authentication/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### npm ```bash -npm install @react-native-oh-tpl/react-native-apple-authentication@file:# +npm install @react-native-oh-tpl/react-native-apple-authentication ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-apple-authentication@file:# +yarn add @react-native-oh-tpl/react-native-apple-authentication ``` #### **配置用于 Web 的“通过 Apple 登录”** diff --git a/zh-cn/react-native-async-storage-async-storage.md b/zh-cn/react-native-async-storage-async-storage.md index 134f7a1d..9d90428b 100644 --- a/zh-cn/react-native-async-storage-async-storage.md +++ b/zh-cn/react-native-async-storage-async-storage.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/async-storage Releases](https://github.com/react-native-oh-library/async-storage/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/async-storage Releases](https://github.com/react-native-oh-library/async-storage/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/async-storage@file:# +npm install @react-native-oh-tpl/async-storage ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/async-storage@file:# +yarn add @react-native-oh-tpl/async-storage ``` diff --git a/zh-cn/react-native-audio-recorder-player.md b/zh-cn/react-native-audio-recorder-player.md index 50fb1e13..cc9b8e14 100644 --- a/zh-cn/react-native-audio-recorder-player.md +++ b/zh-cn/react-native-audio-recorder-player.md @@ -16,22 +16,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-audio-recorder-player Releases](https://github.com/react-native-oh-library/react-native-audio-recorder-player/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-audio-recorder-player Releases](https://github.com/react-native-oh-library/react-native-audio-recorder-player/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!tip] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-audio-recorder-player@file:# +npm install @react-native-oh-tpl/react-native-audio-recorder-player ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-audio-recorder-player@file:# +yarn add @react-native-oh-tpl/react-native-audio-recorder-player ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/react-native-audio-toolkit.md b/zh-cn/react-native-audio-toolkit.md index 4e052778..aef293a6 100644 --- a/zh-cn/react-native-audio-toolkit.md +++ b/zh-cn/react-native-audio-toolkit.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/audio-toolkit Releases](https://github.com/react-native-oh-library/react-native-audio-toolkit/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/audio-toolkit Releases](https://github.com/react-native-oh-library/react-native-audio-toolkit/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/audio-toolkit@file:# +npm install @react-native-oh-tpl/audio-toolkit ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/audio-toolkit@file:# +yarn add @react-native-oh-tpl/audio-toolkit ``` diff --git a/zh-cn/react-native-audio.md b/zh-cn/react-native-audio.md index ee8b681d..52351c52 100644 --- a/zh-cn/react-native-audio.md +++ b/zh-cn/react-native-audio.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-audio Releases](https://github.com/react-native-oh-library/react-native-audio/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-audio Releases](https://github.com/react-native-oh-library/react-native-audio/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-audio@file:# +npm install @react-native-oh-tpl/react-native-audio ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-audio@file:# +yarn add @react-native-oh-tpl/react-native-audio ``` diff --git a/zh-cn/react-native-autoheight-webview.md b/zh-cn/react-native-autoheight-webview.md index 728e97a9..bbcd0cdf 100644 --- a/zh-cn/react-native-autoheight-webview.md +++ b/zh-cn/react-native-autoheight-webview.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-autoheight-webview Releases](https://github.com/react-native-oh-library/react-native-autoheight-webview/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-autoheight-webview Releases](https://github.com/react-native-oh-library/react-native-autoheight-webview/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-autoheight-webview@file:# +npm install @react-native-oh-tpl/react-native-autoheight-webview ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-autoheight-webview@file:# +yarn add @react-native-oh-tpl/react-native-autoheight-webview ``` diff --git a/zh-cn/react-native-background-fetch.md b/zh-cn/react-native-background-fetch.md index 42e9b6ab..8b5f3659 100644 --- a/zh-cn/react-native-background-fetch.md +++ b/zh-cn/react-native-background-fetch.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-background-fetch Releases](https://github.com/react-native-oh-library/react-native-background-fetch/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-background-fetch Releases](https://github.com/react-native-oh-library/react-native-background-fetch/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-background-fetch@file:# +npm install @react-native-oh-tpl/react-native-background-fetch ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-background-fetch@file:# +yarn add @react-native-oh-tpl/react-native-background-fetch ``` diff --git a/zh-cn/react-native-background-timer.md b/zh-cn/react-native-background-timer.md index 8bcd68a4..8d47f8da 100644 --- a/zh-cn/react-native-background-timer.md +++ b/zh-cn/react-native-background-timer.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-background-timer Releases](https://github.com/react-native-oh-library/react-native-background-timer/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-background-timer Releases](https://github.com/react-native-oh-library/react-native-background-timer/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-background-timer@file:# +npm install @react-native-oh-tpl/react-native-background-timer ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-background-timer@file:# +yarn add @react-native-oh-tpl/react-native-background-timer ``` diff --git a/zh-cn/react-native-baidu-map.md b/zh-cn/react-native-baidu-map.md index c0154674..b53abaf1 100644 --- a/zh-cn/react-native-baidu-map.md +++ b/zh-cn/react-native-baidu-map.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-baidu-map Releases](https://github.com/react-native-oh-library/react-native-baidu-map/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-baidu-map Releases](https://github.com/react-native-oh-library/react-native-baidu-map/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-baidu-map@file:# +npm install @react-native-oh-tpl/react-native-baidu-map ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-baidu-map@file:# +yarn add @react-native-oh-tpl/react-native-baidu-map ``` diff --git a/zh-cn/react-native-barcode-builder.md b/zh-cn/react-native-barcode-builder.md index a2e8b37a..2a92dd46 100644 --- a/zh-cn/react-native-barcode-builder.md +++ b/zh-cn/react-native-barcode-builder.md @@ -16,24 +16,22 @@ ## 安装与使用 -1、请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-barcode-builder](https://github.com/react-native-oh-library/react-native-barcode-builder/releases),并下载适用版本的 tgz 包。 +1、请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-barcode-builder](https://github.com/react-native-oh-library/react-native-barcode-builder/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-barcode-builder@file:# +npm install @react-native-oh-tpl/react-native-barcode-builder ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-barcode-builder@file:# +yarn add @react-native-oh-tpl/react-native-barcode-builder ``` diff --git a/zh-cn/react-native-bars.md b/zh-cn/react-native-bars.md index 0ed85bbf..176cfa7e 100644 --- a/zh-cn/react-native-bars.md +++ b/zh-cn/react-native-bars.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-bars Releases](https://github.com/react-native-oh-library/react-native-bars/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-bars Releases](https://github.com/react-native-oh-library/react-native-bars/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-bars@file:# +npm install @react-native-oh-tpl/react-native-bars ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-bars@file:# +yarn add @react-native-oh-tpl/react-native-bars ``` diff --git a/zh-cn/react-native-better-banner.md b/zh-cn/react-native-better-banner.md index 08bec6c3..d838392f 100644 --- a/zh-cn/react-native-better-banner.md +++ b/zh-cn/react-native-better-banner.md @@ -16,25 +16,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-better-banner Releases](https://github.com/react-native-oh-library/better-banner/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-better-banner Releases](https://github.com/react-native-oh-library/better-banner/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-better-banner@file:# +npm install @react-native-oh-tpl/react-native-better-banner ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-better-banner@file:# +yarn add @react-native-oh-tpl/react-native-better-banner ``` diff --git a/zh-cn/react-native-bindingx.md b/zh-cn/react-native-bindingx.md index ac09562c..6d265bb6 100644 --- a/zh-cn/react-native-bindingx.md +++ b/zh-cn/react-native-bindingx.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-bindingx Releases](https://github.com/react-native-oh-library/react-native-bindingx/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-bindingx Releases](https://github.com/react-native-oh-library/react-native-bindingx/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-bindingx@file:# +npm install @react-native-oh-tpl/react-native-bindingx ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-bindingx@file:# +yarn add @react-native-oh-tpl/react-native-bindingx ``` diff --git a/zh-cn/react-native-ble-manager.md b/zh-cn/react-native-ble-manager.md index e8285d82..452feb8d 100644 --- a/zh-cn/react-native-ble-manager.md +++ b/zh-cn/react-native-ble-manager.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-ble-manager Releases](https://github.com/react-native-oh-library/react-native-ble-manager/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-ble-manager Releases](https://github.com/react-native-oh-library/react-native-ble-manager/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-ble-manager@file:# +npm install @react-native-oh-tpl/react-native-ble-manager ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-ble-manager@file:# +yarn add @react-native-oh-tpl/react-native-ble-manager ``` diff --git a/zh-cn/react-native-ble-plx.md b/zh-cn/react-native-ble-plx.md index 040b0141..a3b7ebb5 100644 --- a/zh-cn/react-native-ble-plx.md +++ b/zh-cn/react-native-ble-plx.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-ble-plx Releases](https://github.com/react-native-oh-library/react-native-ble-plx/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-ble-plx Releases](https://github.com/react-native-oh-library/react-native-ble-plx/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-ble-plx@file:# +npm install @react-native-oh-tpl/react-native-ble-plx ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-ble-plx@file:# +yarn add @react-native-oh-tpl/react-native-ble-plx ``` diff --git a/zh-cn/react-native-blob-util.md b/zh-cn/react-native-blob-util.md index 7ce24a58..9641bce4 100644 --- a/zh-cn/react-native-blob-util.md +++ b/zh-cn/react-native-blob-util.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-blob-util Releases](https://github.com/react-native-oh-library/react-native-blob-util/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-blob-util Releases](https://github.com/react-native-oh-library/react-native-blob-util/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-blob-util@file:# +npm install @react-native-oh-tpl/react-native-blob-util ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-blob-util@file:# +yarn add @react-native-oh-tpl/react-native-blob-util ``` diff --git a/zh-cn/react-native-bootsplash.md b/zh-cn/react-native-bootsplash.md index 13643d61..59c71fcd 100644 --- a/zh-cn/react-native-bootsplash.md +++ b/zh-cn/react-native-bootsplash.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-bootsplash Releases](https://github.com/react-native-oh-library/react-native-bootsplash/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-bootsplash Releases](https://github.com/react-native-oh-library/react-native-bootsplash/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-bootsplash@file:# +npm install @react-native-oh-tpl/react-native-bootsplash ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-bootsplash@file:# +yarn add @react-native-oh-tpl/react-native-bootsplash ``` #### 生成配置文件 diff --git a/zh-cn/react-native-calendar-events.md b/zh-cn/react-native-calendar-events.md index 3d2791d5..ea4cb9c7 100644 --- a/zh-cn/react-native-calendar-events.md +++ b/zh-cn/react-native-calendar-events.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-calendar-events Releases](https://github.com/react-native-oh-library/react-native-calendar-events/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-calendar-events Releases](https://github.com/react-native-oh-library/react-native-calendar-events/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-calendar-events@file:# +npm install @react-native-oh-tpl/react-native-calendar-events ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-calendar-events@file:# +yarn add @react-native-oh-tpl/react-native-calendar-events ``` diff --git a/zh-cn/react-native-camera-kit.md b/zh-cn/react-native-camera-kit.md index 2a06b7d7..2b4aab76 100644 --- a/zh-cn/react-native-camera-kit.md +++ b/zh-cn/react-native-camera-kit.md @@ -18,24 +18,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-camera-kit Releases](https://github.com/react-native-oh-library/react-native-camera-kit/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-camera-kit Releases](https://github.com/react-native-oh-library/react-native-camera-kit/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### npm ```bash -npm install @react-native-oh-tpl/react-native-camera-kit@file:# +npm install @react-native-oh-tpl/react-native-camera-kit ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-camera-kit@file:# +yarn add @react-native-oh-tpl/react-native-camera-kit ``` diff --git a/zh-cn/react-native-cameraroll.md b/zh-cn/react-native-cameraroll.md index 674dcee8..05adbcb2 100644 --- a/zh-cn/react-native-cameraroll.md +++ b/zh-cn/react-native-cameraroll.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-cameraroll Releases](https://github.com/react-native-oh-library/react-native-cameraroll/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-cameraroll Releases](https://github.com/react-native-oh-library/react-native-cameraroll/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/camera-roll@file:# +npm install @react-native-oh-tpl/camera-roll ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/camera-roll@file:# +yarn add @react-native-oh-tpl/camera-roll ``` diff --git a/zh-cn/react-native-cardview.md b/zh-cn/react-native-cardview.md index d8cbbdbb..e5c3e8d9 100644 --- a/zh-cn/react-native-cardview.md +++ b/zh-cn/react-native-cardview.md @@ -16,22 +16,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-cardview Releases](https://github.com/react-native-oh-library/react-native-cardview/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-cardview Releases](https://github.com/react-native-oh-library/react-native-cardview/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-cardview@file:# +npm install @react-native-oh-tpl/react-native-cardview ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-cardview@file:# +yarn add @react-native-oh-tpl/react-native-cardview ``` diff --git a/zh-cn/react-native-charts-wrapper.md b/zh-cn/react-native-charts-wrapper.md index a3538669..972b1b65 100644 --- a/zh-cn/react-native-charts-wrapper.md +++ b/zh-cn/react-native-charts-wrapper.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-charts-wrapper/Releases](https://github.com/react-native-oh-library/react-native-charts-wrapper/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-charts-wrapper/Releases](https://github.com/react-native-oh-library/react-native-charts-wrapper/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-charts-wrapper@file:# +npm install @react-native-oh-tpl/react-native-charts-wrapper ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-charts-wrapper@file:# +yarn add @react-native-oh-tpl/react-native-charts-wrapper ``` diff --git a/zh-cn/react-native-clipboard-clipboard.md b/zh-cn/react-native-clipboard-clipboard.md index e4c81732..bab853bc 100644 --- a/zh-cn/react-native-clipboard-clipboard.md +++ b/zh-cn/react-native-clipboard-clipboard.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/clipboard Releases](https://github.com/react-native-oh-library/clipboard/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/clipboard Releases](https://github.com/react-native-oh-library/clipboard/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/clipboard@file:# +npm install @react-native-oh-tpl/clipboard ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/clipboard@file:# +yarn add @react-native-oh-tpl/clipboard ``` diff --git a/zh-cn/react-native-clippath-capi.md b/zh-cn/react-native-clippath-capi.md index e0a5fd25..9e7e30e9 100644 --- a/zh-cn/react-native-clippath-capi.md +++ b/zh-cn/react-native-clippath-capi.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-clippathview Releases](https://github.com/react-native-oh-library/react-native-clippath/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-clippathview Releases](https://github.com/react-native-oh-library/react-native-clippath/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-clippathview@file:# +npm install @react-native-oh-tpl/react-native-clippathview ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-clippathview@file:# +yarn add @react-native-oh-tpl/react-native-clippathview ``` diff --git a/zh-cn/react-native-clippathview.md b/zh-cn/react-native-clippathview.md index 90e3839b..f3d9c8fd 100644 --- a/zh-cn/react-native-clippathview.md +++ b/zh-cn/react-native-clippathview.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-clippathview Releases](https://github.com/react-native-oh-library/react-native-clippath/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-clippathview Releases](https://github.com/react-native-oh-library/react-native-clippath/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-clippathview@file:# +npm install @react-native-oh-tpl/react-native-clippathview ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-clippathview@file:# +yarn add @react-native-oh-tpl/react-native-clippathview ``` diff --git a/zh-cn/react-native-code-push.md b/zh-cn/react-native-code-push.md index 99c30591..43c404b0 100644 --- a/zh-cn/react-native-code-push.md +++ b/zh-cn/react-native-code-push.md @@ -47,24 +47,22 @@ code-push release "<版本号>" --description " [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-code-push@file:# +npm install @react-native-oh-tpl/react-native-code-push ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-code-push@file:# +yarn add @react-native-oh-tpl/react-native-code-push ``` diff --git a/zh-cn/react-native-color-matrix-image-filters.md b/zh-cn/react-native-color-matrix-image-filters.md index fb4b3922..2439dfa0 100644 --- a/zh-cn/react-native-color-matrix-image-filters.md +++ b/zh-cn/react-native-color-matrix-image-filters.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-color-matrix-image-filters Releases](https://github.com/react-native-oh-library/react-native-color-matrix-image-filters/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-color-matrix-image-filters Releases](https://github.com/react-native-oh-library/react-native-color-matrix-image-filters/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-color-matrix-image-filters@file:# +npm install @react-native-oh-tpl/react-native-color-matrix-image-filters ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-color-matrix-image-filters@file:# +yarn add @react-native-oh-tpl/react-native-color-matrix-image-filters ``` diff --git a/zh-cn/react-native-community-blur.md b/zh-cn/react-native-community-blur.md index dc5b12c9..c1d047ea 100644 --- a/zh-cn/react-native-community-blur.md +++ b/zh-cn/react-native-community-blur.md @@ -18,24 +18,22 @@ 本库已经适配`C-API版本`从版本`4.4.0-0.1.0`开始的版本为`C-API版本`,`C-API版本`在性能和速度上都优于`ArkTS版本`。 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-community-blur Releases](https://github.com/react-native-oh-library/react-native-blur/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-community-blur Releases](https://github.com/react-native-oh-library/react-native-blur/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/blur@file:# +npm install @react-native-oh-tpl/blur ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/blur@file:# +yarn add @react-native-oh-tpl/blur ``` diff --git a/zh-cn/react-native-community-checkbox.md b/zh-cn/react-native-community-checkbox.md index b262a795..1a3c8c8e 100644 --- a/zh-cn/react-native-community-checkbox.md +++ b/zh-cn/react-native-community-checkbox.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/checkbox Releases](https://github.com/react-native-oh-library/react-native-checkbox/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/checkbox Releases](https://github.com/react-native-oh-library/react-native-checkbox/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/checkbox@file:# +npm install @react-native-oh-tpl/checkbox ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/checkbox@file:# +yarn add @react-native-oh-tpl/checkbox ``` diff --git a/zh-cn/react-native-community-datetimepicker.md b/zh-cn/react-native-community-datetimepicker.md index 73fc6a76..574fde82 100644 --- a/zh-cn/react-native-community-datetimepicker.md +++ b/zh-cn/react-native-community-datetimepicker.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/datetimepicker Releases](https://github.com/react-native-oh-library/datetimepicker/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/datetimepicker Releases](https://github.com/react-native-oh-library/datetimepicker/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/datetimepicker@file:# +npm install @react-native-oh-tpl/datetimepicker ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/datetimepicker@file:# +yarn add @react-native-oh-tpl/datetimepicker ``` diff --git a/zh-cn/react-native-community-geolocation.md b/zh-cn/react-native-community-geolocation.md index 549f227e..56784249 100644 --- a/zh-cn/react-native-community-geolocation.md +++ b/zh-cn/react-native-community-geolocation.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/geolocation Releases](https://github.com/react-native-oh-library/react-native-geolocation/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/geolocation Releases](https://github.com/react-native-oh-library/react-native-geolocation/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/geolocation@file:# +npm install @react-native-oh-tpl/geolocation ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/geolocation@file:# +yarn add @react-native-oh-tpl/geolocation ``` diff --git a/zh-cn/react-native-community-netinfo.md b/zh-cn/react-native-community-netinfo.md index ea29d95e..0def1b80 100644 --- a/zh-cn/react-native-community-netinfo.md +++ b/zh-cn/react-native-community-netinfo.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/netinfo Releases](https://github.com/react-native-oh-library/react-native-netinfo/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/netinfo Releases](https://github.com/react-native-oh-library/react-native-netinfo/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/netinfo@file:# +npm install @react-native-oh-tpl/netinfo ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/netinfo@file:# +yarn add @react-native-oh-tpl/netinfo ``` diff --git a/zh-cn/react-native-community-progress-bar-android.md b/zh-cn/react-native-community-progress-bar-android.md index 26446721..a1d4543f 100644 --- a/zh-cn/react-native-community-progress-bar-android.md +++ b/zh-cn/react-native-community-progress-bar-android.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/progress-bar-android Releases](https://github.com/react-native-oh-library/progress-bar-android/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/progress-bar-android Releases](https://github.com/react-native-oh-library/progress-bar-android/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **yarn** ```bash -yarn add @react-native-oh-tpl/progress-bar-android@file:# +yarn add @react-native-oh-tpl/progress-bar-android ``` #### **npm** ```bash -npm install @react-native-oh-tpl/progress-bar-android@file:# +npm install @react-native-oh-tpl/progress-bar-android ``` diff --git a/zh-cn/react-native-community-progress-view-capi.md b/zh-cn/react-native-community-progress-view-capi.md index da63b051..df50fea7 100644 --- a/zh-cn/react-native-community-progress-view-capi.md +++ b/zh-cn/react-native-community-progress-view-capi.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/progress-view Releases](https://github.com/react-native-oh-library/progress-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/progress-view Releases](https://github.com/react-native-oh-library/progress-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/progress-view@file:# +npm install @react-native-oh-tpl/progress-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/progress-view@file:# +yarn add @react-native-oh-tpl/progress-view ``` diff --git a/zh-cn/react-native-community-progress-view.md b/zh-cn/react-native-community-progress-view.md index 8b984994..c12d5b94 100644 --- a/zh-cn/react-native-community-progress-view.md +++ b/zh-cn/react-native-community-progress-view.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/progress-view Releases](https://github.com/react-native-oh-library/progress-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/progress-view Releases](https://github.com/react-native-oh-library/progress-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/progress-view@file:# +npm install @react-native-oh-tpl/progress-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/progress-view@file:# +yarn add @react-native-oh-tpl/progress-view ``` diff --git a/zh-cn/react-native-community-push-notification-ios.md b/zh-cn/react-native-community-push-notification-ios.md index 2174973b..ddab394c 100644 --- a/zh-cn/react-native-community-push-notification-ios.md +++ b/zh-cn/react-native-community-push-notification-ios.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/push-notification-ios Releases](https://github.com/react-native-oh-library/react-native-push-notification-ios/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/push-notification-ios Releases](https://github.com/react-native-oh-library/react-native-push-notification-ios/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/push-notification-ios@file:# +npm install @react-native-oh-tpl/push-notification-ios ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/push-notification-ios@file:# +yarn add @react-native-oh-tpl/push-notification-ios ``` diff --git a/zh-cn/react-native-community-segmented-control.md b/zh-cn/react-native-community-segmented-control.md index e5d35856..8fb7f484 100644 --- a/zh-cn/react-native-community-segmented-control.md +++ b/zh-cn/react-native-community-segmented-control.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/segmented-control Releases](https://github.com/react-native-oh-library/segmented-control/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/segmented-control Releases](https://github.com/react-native-oh-library/segmented-control/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/segmented-control@file:# +npm install @react-native-oh-tpl/segmented-control ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/segmented-control@file:# +yarn add @react-native-oh-tpl/segmented-control ``` diff --git a/zh-cn/react-native-community-slider.md b/zh-cn/react-native-community-slider.md index ad3254dc..99872e3c 100644 --- a/zh-cn/react-native-community-slider.md +++ b/zh-cn/react-native-community-slider.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/slider Releases](https://github.com/react-native-oh-library/react-native-slider/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/slider Releases](https://github.com/react-native-oh-library/react-native-slider/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/slider@file:# +npm install @react-native-oh-tpl/slider ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/slider@file:# +yarn add @react-native-oh-tpl/slider ``` diff --git a/zh-cn/react-native-community-toolbar-android.md b/zh-cn/react-native-community-toolbar-android.md index b57787f0..867a3411 100644 --- a/zh-cn/react-native-community-toolbar-android.md +++ b/zh-cn/react-native-community-toolbar-android.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/toolbar-android Releases](https://github.com/react-native-oh-library/toolbar-android/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/toolbar-android Releases](https://github.com/react-native-oh-library/toolbar-android/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### npm ```bash -npm install @react-native-oh-tpl/toolbar-android@file:# +npm install @react-native-oh-tpl/toolbar-android ``` #### yarn ```bash -yarn add @react-native-oh-tpl/toolbar-android@file:# +yarn add @react-native-oh-tpl/toolbar-android ``` diff --git a/zh-cn/react-native-compass-heading.md b/zh-cn/react-native-compass-heading.md index 9a21cede..dedf50dc 100644 --- a/zh-cn/react-native-compass-heading.md +++ b/zh-cn/react-native-compass-heading.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-compass-heading Releases](https://github.com/react-native-oh-library/react-native-compass-heading/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-compass-heading Releases](https://github.com/react-native-oh-library/react-native-compass-heading/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-compass-heading@file:# +npm install @react-native-oh-tpl/react-native-compass-heading ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-compass-heading@file:# +yarn add @react-native-oh-tpl/react-native-compass-heading ``` diff --git a/zh-cn/react-native-config.md b/zh-cn/react-native-config.md index 7b294613..c6bea5e2 100644 --- a/zh-cn/react-native-config.md +++ b/zh-cn/react-native-config.md @@ -30,22 +30,20 @@ Config.GOOGLE_MAPS_API_KEY; // 'abcdefgh' ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-config Releases](https://github.com/react-native-oh-library/react-native-config/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-config Releases](https://github.com/react-native-oh-library/react-native-config/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### npm ```bash -npm install @react-native-oh-tpl/react-native-config@file:# +npm install @react-native-oh-tpl/react-native-config ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-config@file:# +yarn add @react-native-oh-tpl/react-native-config ``` diff --git a/zh-cn/react-native-contacts.md b/zh-cn/react-native-contacts.md index 57971fd3..7eb46265 100644 --- a/zh-cn/react-native-contacts.md +++ b/zh-cn/react-native-contacts.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-contacts Releases](https://github.com/react-native-oh-library/react-native-contacts/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-contacts Releases](https://github.com/react-native-oh-library/react-native-contacts/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-contacts@file:# +npm install @react-native-oh-tpl/react-native-contacts ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-contacts@file:# +yarn add @react-native-oh-tpl/react-native-contacts ``` diff --git a/zh-cn/react-native-context-menu-view.md b/zh-cn/react-native-context-menu-view.md index 63154607..fabd86af 100644 --- a/zh-cn/react-native-context-menu-view.md +++ b/zh-cn/react-native-context-menu-view.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-context-menu-view Releases](https://github.com/react-native-oh-library/react-native-context-menu-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-context-menu-view Releases](https://github.com/react-native-oh-library/react-native-context-menu-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-context-menu-view@file:# +npm install @react-native-oh-tpl/react-native-context-menu-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-context-menu-view@file:# +yarn add @react-native-oh-tpl/react-native-context-menu-view ``` diff --git a/zh-cn/react-native-cookies-cookies.md b/zh-cn/react-native-cookies-cookies.md index 3fbc165f..6cd6f0cf 100644 --- a/zh-cn/react-native-cookies-cookies.md +++ b/zh-cn/react-native-cookies-cookies.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/cookies Releases](https://github.com/react-native-oh-library/react-native-cookies/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/cookies Releases](https://github.com/react-native-oh-library/react-native-cookies/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/cookies@file:# +npm install @react-native-oh-tpl/cookies ``` #### **yarn** ``` -yarn add @react-native-oh-tpl/cookies@file:# +yarn add @react-native-oh-tpl/cookies ``` diff --git a/zh-cn/react-native-country-picker-modal.md b/zh-cn/react-native-country-picker-modal.md index 0a2a8181..03ab96ed 100644 --- a/zh-cn/react-native-country-picker-modal.md +++ b/zh-cn/react-native-country-picker-modal.md @@ -16,24 +16,24 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-country-picker-modal Releases](https://github.com/react-native-oh-library/react-native-country-picker-modal/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-country-picker-modal Releases](https://github.com/react-native-oh-library/react-native-country-picker-modal/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 + #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-country-picker-modal@file:# +npm install @react-native-oh-tpl/react-native-country-picker-modal ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-country-picker-modal@file:# +yarn add @react-native-oh-tpl/react-native-country-picker-modal ``` diff --git a/zh-cn/react-native-create-thumbnail.md b/zh-cn/react-native-create-thumbnail.md index f3f713c2..8de02f31 100644 --- a/zh-cn/react-native-create-thumbnail.md +++ b/zh-cn/react-native-create-thumbnail.md @@ -18,24 +18,24 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-create-thumbnail Releases](https://github.com/react-native-oh-library/react-native-create-thumbnail/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-create-thumbnail Releases](https://github.com/react-native-oh-library/react-native-create-thumbnail/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 + #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-create-thumbnail@file:# +npm install @react-native-oh-tpl/react-native-create-thumbnail ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-create-thumbnail@file:# +yarn add @react-native-oh-tpl/react-native-create-thumbnail ``` diff --git a/zh-cn/react-native-credit-card-input.md b/zh-cn/react-native-credit-card-input.md index b99a5a61..972f70ce 100644 --- a/zh-cn/react-native-credit-card-input.md +++ b/zh-cn/react-native-credit-card-input.md @@ -16,24 +16,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-credit-card-input Releases](https://github.com/react-native-oh-library/react-native-credit-card-input/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-credit-card-input Releases](https://github.com/react-native-oh-library/react-native-credit-card-input/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-credit-card-input@file:# +npm install @react-native-oh-tpl/react-native-credit-card-input ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-credit-card-input@file:# +yarn add @react-native-oh-tpl/react-native-credit-card-input ``` diff --git a/zh-cn/react-native-custom-keyboard.md b/zh-cn/react-native-custom-keyboard.md index 634b34c8..718ab2ae 100644 --- a/zh-cn/react-native-custom-keyboard.md +++ b/zh-cn/react-native-custom-keyboard.md @@ -17,22 +17,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-custom-keyboard Releases](https://github.com/react-native-oh-library/react-native-custom-keyboard/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-custom-keyboard Releases](https://github.com/react-native-oh-library/react-native-custom-keyboard/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-custom-keyboard@file:# +npm install @react-native-oh-tpl/react-native-custom-keyboard ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-custom-keyboard@file:# +yarn add @react-native-oh-tpl/react-native-custom-keyboard ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/react-native-date-picker.md b/zh-cn/react-native-date-picker.md index bde26e2a..133e6344 100644 --- a/zh-cn/react-native-date-picker.md +++ b/zh-cn/react-native-date-picker.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-date-picker Releases](https://github.com/react-native-oh-library/react-native-date-picker/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-date-picker Releases](https://github.com/react-native-oh-library/react-native-date-picker/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-date-picker@file:# +npm install @react-native-oh-tpl/react-native-date-picker ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-date-picker@file:# +yarn add @react-native-oh-tpl/react-native-date-picker ``` diff --git a/zh-cn/react-native-default-preference.md b/zh-cn/react-native-default-preference.md index 2ea3ed32..7c9ddf0e 100644 --- a/zh-cn/react-native-default-preference.md +++ b/zh-cn/react-native-default-preference.md @@ -18,25 +18,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-default-preference Releases](https://github.com/react-native-oh-library/react-native-default-preference/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-default-preference@file:# +npm install @react-native-oh-tpl/react-native-default-preference ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-default-preference@file:# +yarn add @react-native-oh-tpl/react-native-default-preference ``` diff --git a/zh-cn/react-native-device-info.md b/zh-cn/react-native-device-info.md index 9c9c5de9..856d62a0 100644 --- a/zh-cn/react-native-device-info.md +++ b/zh-cn/react-native-device-info.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-device-info Releases](https://github.com/react-native-oh-library/react-native-device-info/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-device-info Releases](https://github.com/react-native-oh-library/react-native-device-info/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-device-info@file:# +npm install @react-native-oh-tpl/react-native-device-info ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-device-info@file:# +yarn add @react-native-oh-tpl/react-native-device-info ``` diff --git a/zh-cn/react-native-doc-viewer.md b/zh-cn/react-native-doc-viewer.md index 96d923e0..4a6c827b 100644 --- a/zh-cn/react-native-doc-viewer.md +++ b/zh-cn/react-native-doc-viewer.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-doc-viewer Releases](https://github.com/react-native-oh-library/react-native-doc-viewer/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-doc-viewer Releases](https://github.com/react-native-oh-library/react-native-doc-viewer/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-doc-viewer@file:# +npm install @react-native-oh-tpl/react-native-doc-viewer ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-doc-viewer@file:# +yarn add @react-native-oh-tpl/react-native-doc-viewer ``` diff --git a/zh-cn/react-native-document-picker.md b/zh-cn/react-native-document-picker.md index 8da343cc..97906cc2 100644 --- a/zh-cn/react-native-document-picker.md +++ b/zh-cn/react-native-document-picker.md @@ -19,24 +19,24 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-document-picker Releases](https://github.com/react-native-oh-library/document-picker/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-document-picker Releases](https://github.com/react-native-oh-library/document-picker/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 + #### npm ```bash -npm install @react-native-oh-tpl/react-native-document-picker@file:# +npm install @react-native-oh-tpl/react-native-document-picker ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-document-picker@file:# +yarn add @react-native-oh-tpl/react-native-document-picker ``` diff --git a/zh-cn/react-native-drag-sort.md b/zh-cn/react-native-drag-sort.md index 4243daed..e1f40b75 100644 --- a/zh-cn/react-native-drag-sort.md +++ b/zh-cn/react-native-drag-sort.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-drag-sort Releases](https://github.com/react-native-oh-library/react-native-drag-sort/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-drag-sort Releases](https://github.com/react-native-oh-library/react-native-drag-sort/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-drag-sort@file:# +yarn add @react-native-oh-tpl/react-native-drag-sort ``` #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-drag-sort@file:# +npm install @react-native-oh-tpl/react-native-drag-sort ``` ### Tip diff --git a/zh-cn/react-native-drax.md b/zh-cn/react-native-drax.md index 96818cd7..bbbf0cbc 100644 --- a/zh-cn/react-native-drax.md +++ b/zh-cn/react-native-drax.md @@ -20,24 +20,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-drax Releases](https://github.com/react-native-oh-library/react-native-drax/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-drax Releases](https://github.com/react-native-oh-library/react-native-drax/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-drax@file:# +npm install @react-native-oh-tpl/react-native-drax ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-drax@file:# +yarn add @react-native-oh-tpl/react-native-drax ``` diff --git a/zh-cn/react-native-email-link.md b/zh-cn/react-native-email-link.md index 499b18c5..09a26a2c 100644 --- a/zh-cn/react-native-email-link.md +++ b/zh-cn/react-native-email-link.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-email-link Releases](https://github.com/react-native-oh-library/react-native-email-link/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-email-link Releases](https://github.com/react-native-oh-library/react-native-email-link/releases)。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-email-link@file:# +npm install @react-native-oh-tpl/react-native-email-link ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-email-link@file:# +yarn add @react-native-oh-tpl/react-native-email-link ``` diff --git a/zh-cn/react-native-exception-handler.md b/zh-cn/react-native-exception-handler.md index 68650638..ba79aac6 100644 --- a/zh-cn/react-native-exception-handler.md +++ b/zh-cn/react-native-exception-handler.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-exception-handler Releases](https://github.com/react-native-oh-library/react-native-exception-handler/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-exception-handler Releases](https://github.com/react-native-oh-library/react-native-exception-handler/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-exception-handler@file:# +npm install @react-native-oh-tpl/react-native-exception-handler ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-exception-handler@file:# +yarn add @react-native-oh-tpl/react-native-exception-handler ``` diff --git a/zh-cn/react-native-exit-app.md b/zh-cn/react-native-exit-app.md index f8df062e..e9627566 100644 --- a/zh-cn/react-native-exit-app.md +++ b/zh-cn/react-native-exit-app.md @@ -17,23 +17,21 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-exit-app Releases](https://github.com/react-native-oh-library/react-native-exit-app/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-exit-app Releases](https://github.com/react-native-oh-library/react-native-exit-app/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-exit-app@file:# +npm install @react-native-oh-tpl/react-native-exit-app ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-exit-app@file:# +yarn add @react-native-oh-tpl/react-native-exit-app ``` diff --git a/zh-cn/react-native-fast-image.md b/zh-cn/react-native-fast-image.md index 321c37b8..8725bfad 100644 --- a/zh-cn/react-native-fast-image.md +++ b/zh-cn/react-native-fast-image.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-fast-image Releases](https://github.com/react-native-oh-library/react-native-fast-image/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-fast-image Releases](https://github.com/react-native-oh-library/react-native-fast-image/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-fast-image@file:# +npm install @react-native-oh-tpl/react-native-fast-image ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-fast-image@file:# +yarn add @react-native-oh-tpl/react-native-fast-image ``` diff --git a/zh-cn/react-native-file-access.md b/zh-cn/react-native-file-access.md index d4ff30f6..e6575f67 100644 --- a/zh-cn/react-native-file-access.md +++ b/zh-cn/react-native-file-access.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-file-access Releases](https://github.com/react-native-oh-library/react-native-file-access/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-file-access Releases](https://github.com/react-native-oh-library/react-native-file-access/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-file-access@file:# +npm install @react-native-oh-tpl/react-native-file-access ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-file-access@file:# +yarn add @react-native-oh-tpl/react-native-file-access ``` diff --git a/zh-cn/react-native-file-selector.md b/zh-cn/react-native-file-selector.md index 79748e50..f0011bd4 100644 --- a/zh-cn/react-native-file-selector.md +++ b/zh-cn/react-native-file-selector.md @@ -17,23 +17,21 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-file-selector Releases](https://github.com/react-native-oh-library/react-native-file-selector/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-file-selector Releases](https://github.com/react-native-oh-library/react-native-file-selector/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-file-selector@file:# +npm install @react-native-oh-tpl/react-native-file-selector ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-file-selector@file:# +yarn add @react-native-oh-tpl/react-native-file-selector ``` diff --git a/zh-cn/react-native-file-viewer.md b/zh-cn/react-native-file-viewer.md index 5612bff5..22c010a4 100644 --- a/zh-cn/react-native-file-viewer.md +++ b/zh-cn/react-native-file-viewer.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-file-viewer Releases](https://github.com/react-native-oh-library/react-native-file-viewer/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-file-viewer Releases](https://github.com/react-native-oh-library/react-native-file-viewer/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-file-viewer@file:# +npm install @react-native-oh-tpl/react-native-file-viewer ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-file-viewer@file:# +yarn add @react-native-oh-tpl/react-native-file-viewer ``` diff --git a/zh-cn/react-native-fileupload.md b/zh-cn/react-native-fileupload.md index 758671bd..cdb379f1 100644 --- a/zh-cn/react-native-fileupload.md +++ b/zh-cn/react-native-fileupload.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-fileupload Releases](https://github.com/react-native-oh-library/react-native-fileupload/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-fileupload Releases](https://github.com/react-native-oh-library/react-native-fileupload/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-fileupload@file:# +npm install @react-native-oh-tpl/react-native-fileupload ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-fileupload@file:# +yarn add @react-native-oh-tpl/react-native-fileupload ``` diff --git a/zh-cn/react-native-fingerprint-scanner.md b/zh-cn/react-native-fingerprint-scanner.md index ad852545..ab98264f 100644 --- a/zh-cn/react-native-fingerprint-scanner.md +++ b/zh-cn/react-native-fingerprint-scanner.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-fingerprint-scanner Releases](https://github.com/react-native-oh-library/react-native-fingerprint-scanner/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-fingerprint-scanner@file:# +npm install @react-native-oh-tpl/react-native-fingerprint-scanner ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-fingerprint-scanner@file:# +yarn add @react-native-oh-tpl/react-native-fingerprint-scanner ``` diff --git a/zh-cn/react-native-fs.md b/zh-cn/react-native-fs.md index a36ab700..3a6fba85 100644 --- a/zh-cn/react-native-fs.md +++ b/zh-cn/react-native-fs.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-fs Releases](https://github.com/react-native-oh-library/react-native-fs/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-fs Releases](https://github.com/react-native-oh-library/react-native-fs/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### npm ```bash -npm install @react-native-oh-tpl/react-native-fs@file:# +npm install @react-native-oh-tpl/react-native-fs ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-fs@file:# +yarn add @react-native-oh-tpl/react-native-fs ``` diff --git a/zh-cn/react-native-gesture-handler.md b/zh-cn/react-native-gesture-handler.md index 2abc537c..f546b54c 100644 --- a/zh-cn/react-native-gesture-handler.md +++ b/zh-cn/react-native-gesture-handler.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-gesture-handler Releases](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-gesture-handler Releases](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-gesture-handler@file:# +npm install @react-native-oh-tpl/react-native-gesture-handler ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-gesture-handler@file:# +yarn add @react-native-oh-tpl/react-native-gesture-handler ``` diff --git a/zh-cn/react-native-get-random-values.md b/zh-cn/react-native-get-random-values.md index e4b3417e..387547cc 100644 --- a/zh-cn/react-native-get-random-values.md +++ b/zh-cn/react-native-get-random-values.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-get-random-values](https://github.com/react-native-oh-library/react-native-get-random-values/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-get-random-values](https://github.com/react-native-oh-library/react-native-get-random-values/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-get-random-values@file:# +npm install @react-native-oh-tpl/react-native-get-random-values ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-get-random-values@file:# +yarn add @react-native-oh-tpl/react-native-get-random-values ``` diff --git a/zh-cn/react-native-gifted-charts.md b/zh-cn/react-native-gifted-charts.md index 9c7673e9..40d2fb02 100644 --- a/zh-cn/react-native-gifted-charts.md +++ b/zh-cn/react-native-gifted-charts.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-gifted-charts Releases](https://github.com/react-native-oh-library/react-native-gifted-charts/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-gifted-charts Releases](https://github.com/react-native-oh-library/react-native-gifted-charts/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-gifted-charts@file:# +npm install @react-native-oh-tpl/react-native-gifted-charts ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-gifted-charts@file:# +yarn add @react-native-oh-tpl/react-native-gifted-charts ``` diff --git a/zh-cn/react-native-haptic-feedback.md b/zh-cn/react-native-haptic-feedback.md index fafc4259..72f53d4f 100644 --- a/zh-cn/react-native-haptic-feedback.md +++ b/zh-cn/react-native-haptic-feedback.md @@ -17,22 +17,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-haptic-feedback Releases](https://github.com/react-native-oh-library/react-native-haptic-feedback/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-haptic-feedback@file:# +npm install @react-native-oh-tpl/react-native-haptic-feedback ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-haptic-feedback@file:# +yarn add @react-native-oh-tpl/react-native-haptic-feedback ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/react-native-hole-view.md b/zh-cn/react-native-hole-view.md index d40de83e..ec27fc04 100644 --- a/zh-cn/react-native-hole-view.md +++ b/zh-cn/react-native-hole-view.md @@ -18,24 +18,24 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-hole-view Releases](https://github.com/react-native-oh-library/react-native-hole-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-hole-view Releases](https://github.com/react-native-oh-library/react-native-hole-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 + #### npm ```bash -npm install @react-native-oh-tpl/react-native-hole-view@file:# +npm install @react-native-oh-tpl/react-native-hole-view ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-hole-view@file:# +yarn add @react-native-oh-tpl/react-native-hole-view ``` diff --git a/zh-cn/react-native-http-bridge.md b/zh-cn/react-native-http-bridge.md index 173369d1..46211342 100644 --- a/zh-cn/react-native-http-bridge.md +++ b/zh-cn/react-native-http-bridge.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-http-bridge Releases](https://github.com/react-native-oh-library/react-native-http-bridge/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-http-bridge@file:# +npm install @react-native-oh-tpl/react-native-http-bridge ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-http-bridge@file:# +yarn add @react-native-oh-tpl/react-native-http-bridge ``` diff --git a/zh-cn/react-native-idfa-aaid.md b/zh-cn/react-native-idfa-aaid.md index 5fde6d41..49602979 100644 --- a/zh-cn/react-native-idfa-aaid.md +++ b/zh-cn/react-native-idfa-aaid.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-idfa-aaid Releases](https://github.com/react-native-oh-library/react-native-idfa-aaid/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-idfa-aaid Releases](https://github.com/react-native-oh-library/react-native-idfa-aaid/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### npm ```bash -npm install @react-native-oh-tpl/react-native-idfa-aaid@file:# +npm install @react-native-oh-tpl/react-native-idfa-aaid ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-idfa-aaid@file:# +yarn add @react-native-oh-tpl/react-native-idfa-aaid ``` diff --git a/zh-cn/react-native-idle-timer.md b/zh-cn/react-native-idle-timer.md index 1b8f2b6f..8b4f2e9e 100644 --- a/zh-cn/react-native-idle-timer.md +++ b/zh-cn/react-native-idle-timer.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-idle-timer Releases](https://github.com/react-native-oh-library/react-native-idle-timer/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-idle-timer Releases](https://github.com/react-native-oh-library/react-native-idle-timer/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-idle-timer@file:# +npm install @react-native-oh-tpl/react-native-idle-timer ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-idle-timer@file:# +yarn add @react-native-oh-tpl/react-native-idle-timer ``` diff --git a/zh-cn/react-native-image-capinsets-next.md b/zh-cn/react-native-image-capinsets-next.md index b6cc618b..dc8ce04e 100644 --- a/zh-cn/react-native-image-capinsets-next.md +++ b/zh-cn/react-native-image-capinsets-next.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-capinsets-next Releases](https://github.com/react-native-oh-library/react-native-image-capinsets-next/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-capinsets-next Releases](https://github.com/react-native-oh-library/react-native-image-capinsets-next/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-image-capinsets-next@file:# +npm install @react-native-oh-tpl/react-native-image-capinsets-next ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-image-capinsets-next@file:# +yarn add @react-native-oh-tpl/react-native-image-capinsets-next ``` diff --git a/zh-cn/react-native-image-colors.md b/zh-cn/react-native-image-colors.md index bcee4091..4282ee5d 100644 --- a/zh-cn/react-native-image-colors.md +++ b/zh-cn/react-native-image-colors.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-colors Releases](https://github.com/react-native-oh-library/react-native-image-colors/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-colors Releases](https://github.com/react-native-oh-library/react-native-image-colors/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-image-colors@file:# +npm install @react-native-oh-tpl/react-native-image-colors ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-image-colors@file:# +yarn add @react-native-oh-tpl/react-native-image-colors ``` diff --git a/zh-cn/react-native-image-crop-picker.md b/zh-cn/react-native-image-crop-picker.md index a59cdd30..79b0a669 100644 --- a/zh-cn/react-native-image-crop-picker.md +++ b/zh-cn/react-native-image-crop-picker.md @@ -16,7 +16,7 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-crop-picker Releases ](https://github.com/react-native-oh-library/react-native-image-crop-picker/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-crop-picker Releases ](https://github.com/react-native-oh-library/react-native-image-crop-picker/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -25,13 +25,13 @@ #### **npm** ``` -npm install @react-native-oh-tpl/react-native-image-crop-picker@file:# +npm install @react-native-oh-tpl/react-native-image-crop-picker ``` #### **yarn** ``` -yarn add @react-native-oh-tpl/react-native-image-crop-picker@file:# +yarn add @react-native-oh-tpl/react-native-image-crop-picker ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/react-native-image-editor.md b/zh-cn/react-native-image-editor.md index e978d539..689f4e74 100644 --- a/zh-cn/react-native-image-editor.md +++ b/zh-cn/react-native-image-editor.md @@ -17,18 +17,18 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/image-editor Releases](https://github.com/react-native-oh-library/react-native-image-editor/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/image-editor Releases](https://github.com/react-native-oh-library/react-native-image-editor/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 #### **npm** ```bash -npm install @react-native-oh-tpl/image-editor@file:# +npm install @react-native-oh-tpl/image-editor ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/image-editor@file:# +yarn add @react-native-oh-tpl/image-editor ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/react-native-image-gallery.md b/zh-cn/react-native-image-gallery.md index 7543e53e..95175c2a 100644 --- a/zh-cn/react-native-image-gallery.md +++ b/zh-cn/react-native-image-gallery.md @@ -18,26 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-gallery Releases](https://github.com/react-native-oh-library/react-native-image-gallery/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-gallery Releases](https://github.com/react-native-oh-library/react-native-image-gallery/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] -> -> 处替换为 tgz 包的路径 - #### **npm** ```bash -npm i @react-native-oh-tpl/react-native-image-gallery@file:# +npm i @react-native-oh-tpl/react-native-image-gallery ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-image-gallery@file:# +yarn add @react-native-oh-tpl/react-native-image-gallery ``` diff --git a/zh-cn/react-native-image-header-scroll-view.md b/zh-cn/react-native-image-header-scroll-view.md index afd45213..6d8240fd 100644 --- a/zh-cn/react-native-image-header-scroll-view.md +++ b/zh-cn/react-native-image-header-scroll-view.md @@ -20,25 +20,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-header-scroll-view Releases](https://github.com/react-native-oh-library/react-native-image-header-scroll-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-header-scroll-view Releases](https://github.com/react-native-oh-library/react-native-image-header-scroll-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-image-header-scroll-view@file:# +npm install @react-native-oh-tpl/react-native-image-header-scroll-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-image-header-scroll-view@file:# +yarn add @react-native-oh-tpl/react-native-image-header-scroll-view ``` diff --git a/zh-cn/react-native-image-pan-zoom.md b/zh-cn/react-native-image-pan-zoom.md index 1cf726f7..2bb97557 100644 --- a/zh-cn/react-native-image-pan-zoom.md +++ b/zh-cn/react-native-image-pan-zoom.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-image-zoom Releases](https://github.com/react-native-oh-library/react-native-image-zoom/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-image-zoom Releases](https://github.com/react-native-oh-library/react-native-image-zoom/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-image-zoom@file:# +npm install @react-native-oh-tpl/react-native-image-zoom ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-image-zoom@file:# +yarn add @react-native-oh-tpl/react-native-image-zoom ``` diff --git a/zh-cn/react-native-image-picker.md b/zh-cn/react-native-image-picker.md index bad79111..3c4c2fba 100644 --- a/zh-cn/react-native-image-picker.md +++ b/zh-cn/react-native-image-picker.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-picker Releases](https://github.com/react-native-oh-library/react-native-image-picker/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-picker Releases](https://github.com/react-native-oh-library/react-native-image-picker/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-image-picker@file:# +npm install @react-native-oh-tpl/react-native-image-picker ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-image-picker@file:# +yarn add @react-native-oh-tpl/react-native-image-picker ``` diff --git a/zh-cn/react-native-image-sequence-2.md b/zh-cn/react-native-image-sequence-2.md index 3115b5b0..1b9c2f45 100644 --- a/zh-cn/react-native-image-sequence-2.md +++ b/zh-cn/react-native-image-sequence-2.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-sequence Releases](https://github.com/react-native-oh-library/react-native-image-sequence/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-sequence Releases](https://github.com/react-native-oh-library/react-native-image-sequence/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-image-sequence-2@file:# +npm install @react-native-oh-tpl/react-native-image-sequence-2 ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-image-sequence-2@file:# +yarn add @react-native-oh-tpl/react-native-image-sequence-2 ``` diff --git a/zh-cn/react-native-image-viewing.md b/zh-cn/react-native-image-viewing.md index e6b10a80..65a43cdc 100644 --- a/zh-cn/react-native-image-viewing.md +++ b/zh-cn/react-native-image-viewing.md @@ -17,12 +17,10 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-viewing Releases](https://github.com/react-native-oh-library/react-native-image-viewing/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-viewing Releases](https://github.com/react-native-oh-library/react-native-image-viewing/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - 进入到工程目录并输入以下命令: @@ -30,13 +28,13 @@ #### npm ```bash -npm install @react-native-oh-tpl/react-native-image-viewing@file:# +npm install @react-native-oh-tpl/react-native-image-viewing ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-image-viewing@file:# +yarn add @react-native-oh-tpl/react-native-image-viewing ``` 快速使用: diff --git a/zh-cn/react-native-image-zoom-viewer.md b/zh-cn/react-native-image-zoom-viewer.md index f765cb34..d3523ffa 100644 --- a/zh-cn/react-native-image-zoom-viewer.md +++ b/zh-cn/react-native-image-zoom-viewer.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-zoom-viewer Releases](https://github.com/react-native-oh-library/react-native-image-viewer/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-image-zoom-viewer Releases](https://github.com/react-native-oh-library/react-native-image-viewer/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### npm ```bash -npm install @react-native-oh-tpl/react-native-image-zoom-viewer@file:# +npm install @react-native-oh-tpl/react-native-image-zoom-viewer ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-image-zoom-viewer@file:# +yarn add @react-native-oh-tpl/react-native-image-zoom-viewer ``` diff --git a/zh-cn/react-native-inappbrowser.md b/zh-cn/react-native-inappbrowser.md index 183aacd7..dbe4715d 100644 --- a/zh-cn/react-native-inappbrowser.md +++ b/zh-cn/react-native-inappbrowser.md @@ -16,22 +16,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-inappbrowser-reborn Releases](https://github.com/react-native-oh-library/react-native-inappbrowser/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-inappbrowser-reborn Releases](https://github.com/react-native-oh-library/react-native-inappbrowser/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] #处替换为tgz包的路径 - #### **npm** ``` -npm install @react-native-oh-tpl/react-native-inappbrowser-reborn@file:# +npm install @react-native-oh-tpl/react-native-inappbrowser-reborn ``` #### **yarn** ``` -yarn add @react-native-oh-tpl/react-native-inappbrowser-reborn@file:# +yarn add @react-native-oh-tpl/react-native-inappbrowser-reborn ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/react-native-input-scroll-view.md b/zh-cn/react-native-input-scroll-view.md index d75f2767..09fc4ae5 100644 --- a/zh-cn/react-native-input-scroll-view.md +++ b/zh-cn/react-native-input-scroll-view.md @@ -18,22 +18,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-input-scroll-view Releases](https://github.com/react-native-oh-library/react-native-input-scroll-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-input-scroll-view Releases](https://github.com/react-native-oh-library/react-native-input-scroll-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-input-scroll-view@file:# +npm install @react-native-oh-tpl/react-native-input-scroll-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-input-scroll-view@file:# +yarn add @react-native-oh-tpl/react-native-input-scroll-view ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/react-native-intersection-observer.md b/zh-cn/react-native-intersection-observer.md index 121bc344..d5a41ec3 100644 --- a/zh-cn/react-native-intersection-observer.md +++ b/zh-cn/react-native-intersection-observer.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-intersection-observer Releases](https://github.com/react-native-oh-library/react-native-intersection-observer/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-intersection-observer Releases](https://github.com/react-native-oh-library/react-native-intersection-observer/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-library/react-native-intersection-observer@file:# +npm install @react-native-oh-library/react-native-intersection-observer ``` #### **yarn** ```bash -yarn add @react-native-oh-library/react-native-intersection-observer@file:# +yarn add @react-native-oh-library/react-native-intersection-observer ``` diff --git a/zh-cn/react-native-iphone-screen-helper.md b/zh-cn/react-native-iphone-screen-helper.md index 53588d39..008f4709 100644 --- a/zh-cn/react-native-iphone-screen-helper.md +++ b/zh-cn/react-native-iphone-screen-helper.md @@ -21,24 +21,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-iphone-screen-helper Releases](https://github.com/react-native-oh-library/react-native-iphone-screen-helper/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-iphone-screen-helper Releases](https://github.com/react-native-oh-library/react-native-iphone-screen-helper/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-iphone-screen-helper@file:# +npm install @react-native-oh-tpl/react-native-iphone-screen-helper ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-iphone-screen-helper@file:# +yarn add @react-native-oh-tpl/react-native-iphone-screen-helper ``` diff --git a/zh-cn/react-native-keep-awake.md b/zh-cn/react-native-keep-awake.md index ca67c22e..fc6bc45b 100644 --- a/zh-cn/react-native-keep-awake.md +++ b/zh-cn/react-native-keep-awake.md @@ -21,24 +21,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-keep-awake Releases](https://github.com/react-native-oh-library/react-native-keep-awake/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-keep-awake Releases](https://github.com/react-native-oh-library/react-native-keep-awake/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-keep-awake@file:# +npm install @react-native-oh-tpl/react-native-keep-awake ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-keep-awake@file:# +yarn add @react-native-oh-tpl/react-native-keep-awake ``` diff --git a/zh-cn/react-native-keyboard-aware-scroll-view.md b/zh-cn/react-native-keyboard-aware-scroll-view.md index b544deb6..2a9db5b2 100644 --- a/zh-cn/react-native-keyboard-aware-scroll-view.md +++ b/zh-cn/react-native-keyboard-aware-scroll-view.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-keyboard-aware-scroll-view Releases](https://github.com/react-native-oh-library/react-native-keyboard-aware-scroll-view/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-keyboard-aware-scroll-view Releases](https://github.com/react-native-oh-library/react-native-keyboard-aware-scroll-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-keyboard-aware-scroll-view@file:# +npm install @react-native-oh-tpl/react-native-keyboard-aware-scroll-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-keyboard-aware-scroll-view@file:# +yarn add @react-native-oh-tpl/react-native-keyboard-aware-scroll-view ``` diff --git a/zh-cn/react-native-keys.md b/zh-cn/react-native-keys.md index 8465074f..1df4ed75 100644 --- a/zh-cn/react-native-keys.md +++ b/zh-cn/react-native-keys.md @@ -18,24 +18,24 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-keys Releases](https://github.com/react-native-oh-library/react-native-keys/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-keys Releases](https://github.com/react-native-oh-library/react-native-keys/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 + #### npm ```bash -npm install @react-native-oh-tpl/react-native-keys@file:# +npm install @react-native-oh-tpl/react-native-keys ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-keys@file:# +yarn add @react-native-oh-tpl/react-native-keys ``` diff --git a/zh-cn/react-native-largelist.md b/zh-cn/react-native-largelist.md index c576261b..ecca7539 100644 --- a/zh-cn/react-native-largelist.md +++ b/zh-cn/react-native-largelist.md @@ -17,24 +17,24 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-largelist Releases](https://github.com/react-native-oh-library/react-native-largelist/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-largelist Releases](https://github.com/react-native-oh-library/react-native-largelist/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 + #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-largelist@file:# +npm install @react-native-oh-tpl/react-native-largelist ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-largelist@file:# +yarn add @react-native-oh-tpl/react-native-largelist ``` diff --git a/zh-cn/react-native-localization-settings.md b/zh-cn/react-native-localization-settings.md index 44374f06..2935eb39 100644 --- a/zh-cn/react-native-localization-settings.md +++ b/zh-cn/react-native-localization-settings.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-localization-settings Releases](https://github.com/react-native-oh-library/react-native-localization-settings/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-localization-settings Releases](https://github.com/react-native-oh-library/react-native-localization-settings/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-localization-settings@file:# +npm install @react-native-oh-tpl/react-native-localization-settings ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-localization-settings@file:# +yarn add @react-native-oh-tpl/react-native-localization-settings ``` diff --git a/zh-cn/react-native-localization.md b/zh-cn/react-native-localization.md index c9777169..d63e60a9 100644 --- a/zh-cn/react-native-localization.md +++ b/zh-cn/react-native-localization.md @@ -21,24 +21,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/ReactNativeLocalization/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-localization Releases](https://github.com/react-native-oh-library/ReactNativeLocalization/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-localization@file:# +npm install @react-native-oh-tpl/react-native-localization ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-localization@file:# +yarn add @react-native-oh-tpl/react-native-localization ``` diff --git a/zh-cn/react-native-localize.md b/zh-cn/react-native-localize.md index 04016acc..a76cb978 100644 --- a/zh-cn/react-native-localize.md +++ b/zh-cn/react-native-localize.md @@ -17,24 +17,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-localize Releases](https://github.com/react-native-oh-library/react-native-localize/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-localize Releases](https://github.com/react-native-oh-library/react-native-localize/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-localize@file:# +npm install @react-native-oh-tpl/react-native-localize ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-localize@file:# +yarn add @react-native-oh-tpl/react-native-localize ``` diff --git a/zh-cn/react-native-map-linking.md b/zh-cn/react-native-map-linking.md index 37031243..144fa76c 100644 --- a/zh-cn/react-native-map-linking.md +++ b/zh-cn/react-native-map-linking.md @@ -19,25 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-map-linking Releases](https://github.com/react-native-oh-library/react-native-map-linking/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-map-linking Releases](https://github.com/react-native-oh-library/react-native-map-linking/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-map-linking@file:# +npm install @react-native-oh-tpl/react-native-map-linking ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-map-linking@file:# +yarn add @react-native-oh-tpl/react-native-map-linking ``` diff --git a/zh-cn/react-native-maps.md b/zh-cn/react-native-maps.md index dd4a3078..c1a1d289 100644 --- a/zh-cn/react-native-maps.md +++ b/zh-cn/react-native-maps.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-maps Releases](https://github.com/react-native-oh-library/react-native-maps/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-maps Releases](https://github.com/react-native-oh-library/react-native-maps/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-maps@file:# +npm install @react-native-oh-tpl/react-native-maps ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-maps@file:# +yarn add @react-native-oh-tpl/react-native-maps ``` diff --git a/zh-cn/react-native-markdown-display.md b/zh-cn/react-native-markdown-display.md index 5eafd1eb..8a629fe6 100644 --- a/zh-cn/react-native-markdown-display.md +++ b/zh-cn/react-native-markdown-display.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-markdown-display Releases](https://github.com/react-native-oh-library/react-native-markdown-display/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-markdown-display Releases](https://github.com/react-native-oh-library/react-native-markdown-display/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-markdown-display@file:# +npm install @react-native-oh-tpl/react-native-markdown-display ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-markdown-display@file:# +yarn add @react-native-oh-tpl/react-native-markdown-display ``` diff --git a/zh-cn/react-native-markdown-renderer.md b/zh-cn/react-native-markdown-renderer.md index 57d9b4db..6ddc441a 100644 --- a/zh-cn/react-native-markdown-renderer.md +++ b/zh-cn/react-native-markdown-renderer.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-markdown-renderer Releases](https://github.com/react-native-oh-library/react-native-markdown-renderer/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-markdown-renderer Releases](https://github.com/react-native-oh-library/react-native-markdown-renderer/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-markdown-renderer@file:# +npm install @react-native-oh-tpl/react-native-markdown-renderer ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-markdown-renderer@file:# +yarn add @react-native-oh-tpl/react-native-markdown-renderer ``` @@ -72,7 +70,7 @@ export default class Page extends PureComponent { 要使用此库,需要使用正确的 React-Native 和 RNOH 版本。另外,还需要使用配套的 DevEco Studio 和 手机 ROM。 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-markdown-renderer Releases](https://github.com/react-native-oh-library/react-native-markdown-renderer/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-markdown-renderer Releases](https://github.com/react-native-oh-library/react-native-markdown-renderer/releases) ## Markdown 组件 diff --git a/zh-cn/react-native-marquee.md b/zh-cn/react-native-marquee.md index fdcd9340..a3e9b827 100644 --- a/zh-cn/react-native-marquee.md +++ b/zh-cn/react-native-marquee.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-marquee Releases](https://github.com/react-native-oh-library/react-native-marquee/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-marquee Releases](https://github.com/react-native-oh-library/react-native-marquee/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - 进入到工程目录并输入以下命令: #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-marquee@file:# +npm install @react-native-oh-tpl/react-native-marquee ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-marquee@file:# +yarn add @react-native-oh-tpl/react-native-marquee ``` diff --git a/zh-cn/react-native-masked-view-masked-view.md b/zh-cn/react-native-masked-view-masked-view.md index c8febe64..565958d0 100644 --- a/zh-cn/react-native-masked-view-masked-view.md +++ b/zh-cn/react-native-masked-view-masked-view.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/masked-view Releases](https://github.com/react-native-oh-library/masked-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/masked-view Releases](https://github.com/react-native-oh-library/masked-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/masked-view@file:# +npm install @react-native-oh-tpl/masked-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/masked-view@file:# +yarn add @react-native-oh-tpl/masked-view ``` diff --git a/zh-cn/react-native-material-buttons.md b/zh-cn/react-native-material-buttons.md index 40633d2a..59e644e2 100644 --- a/zh-cn/react-native-material-buttons.md +++ b/zh-cn/react-native-material-buttons.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-material-buttons Releases](https://github.com/react-native-oh-library/react-native-material-buttons/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-material-buttons Releases](https://github.com/react-native-oh-library/react-native-material-buttons/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-material-buttons@file:# +npm install @react-native-oh-tpl/react-native-material-buttons ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-material-buttons@file:# +yarn add @react-native-oh-tpl/react-native-material-buttons ``` diff --git a/zh-cn/react-native-material-dropdown.md b/zh-cn/react-native-material-dropdown.md index aebefb17..9cc22204 100644 --- a/zh-cn/react-native-material-dropdown.md +++ b/zh-cn/react-native-material-dropdown.md @@ -20,7 +20,7 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-material-dropdown Releases](https://github.com/react-native-oh-library/react-native-material-dropdown/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-material-dropdown Releases](https://github.com/react-native-oh-library/react-native-material-dropdown/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 > [!TIP] 本库依赖[@react-native-oh-tpl/react-native-material-textfield 文档](/zh-cn/react-native-material-textfield.md) @@ -29,20 +29,18 @@ 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-material-dropdown@file:# +npm install @react-native-oh-tpl/react-native-material-dropdown ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-material-dropdown@file:# +yarn add @react-native-oh-tpl/react-native-material-dropdown ``` diff --git a/zh-cn/react-native-material-textfield.md b/zh-cn/react-native-material-textfield.md index 88d3d4f2..83f2c121 100644 --- a/zh-cn/react-native-material-textfield.md +++ b/zh-cn/react-native-material-textfield.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-material-textfield Releases](https://github.com/react-native-oh-library/react-native-material-textfield/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-material-textfield Releases](https://github.com/react-native-oh-library/react-native-material-textfield/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-material-textfield@file:# +npm install @react-native-oh-tpl/react-native-material-textfield ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-material-textfield@file:# +yarn add @react-native-oh-tpl/react-native-material-textfield ``` diff --git a/zh-cn/react-native-material-ui.md b/zh-cn/react-native-material-ui.md index dd0af696..ad87eaa8 100644 --- a/zh-cn/react-native-material-ui.md +++ b/zh-cn/react-native-material-ui.md @@ -18,24 +18,22 @@ ## 安装与使用 请到三方库的 Releases -发布地址查看配套的版本信息:[@react-native-oh-tpl/react-material-ui Releases](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Freact-native-oh-library%2Freact-native-material-ui%2Freleases) -,并下载适用版本的 tgz 包。 +发布地址查看配套的版本信息:[@react-native-oh-tpl/react-material-ui Releases](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Freact-native-oh-library%2Freact-native-material-ui%2Freleases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -[!TIP] # 处替换为 tgz 包的路径 #### **npm** ```bash -npm install react-native-material-ui@file:# +npm install react-native-material-ui ``` #### **yarn** ```bash -yarn add react-native-material-ui@file:# +yarn add react-native-material-ui ``` diff --git a/zh-cn/react-native-mlkit-ocr.md b/zh-cn/react-native-mlkit-ocr.md index 55d6e930..6e024fb2 100644 --- a/zh-cn/react-native-mlkit-ocr.md +++ b/zh-cn/react-native-mlkit-ocr.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-mlkit-ocr Releases](https://github.com/react-native-oh-library/react-native-mlkit-ocr/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-mlkit-ocr Releases](https://github.com/react-native-oh-library/react-native-mlkit-ocr/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-mlkit-ocr@file:# +npm install @react-native-oh-tpl/react-native-mlkit-ocr ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-mlkit-ocr@file:# +yarn add @react-native-oh-tpl/react-native-mlkit-ocr ``` diff --git a/zh-cn/react-native-mmkv-storage.md b/zh-cn/react-native-mmkv-storage.md index 616aad1c..93e43626 100644 --- a/zh-cn/react-native-mmkv-storage.md +++ b/zh-cn/react-native-mmkv-storage.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-mmkv-storage Releases](https://github.com/react-native-oh-library/react-native-mmkv-storage/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-mmkv-storage Releases](https://github.com/react-native-oh-library/react-native-mmkv-storage/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-mmkv-storage@file:# +npm install @react-native-oh-tpl/react-native-mmkv-storage ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-mmkv-storage@file:# +yarn add @react-native-oh-tpl/react-native-mmkv-storage ``` diff --git a/zh-cn/react-native-modal-popover.md b/zh-cn/react-native-modal-popover.md index 5fd6c070..a942adbc 100644 --- a/zh-cn/react-native-modal-popover.md +++ b/zh-cn/react-native-modal-popover.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-modal-popover Releases](https://github.com/react-native-oh-library/react-native-modal-popover/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-modal-popover Releases](https://github.com/react-native-oh-library/react-native-modal-popover/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-modal-popover@file:# +npm install @react-native-oh-tpl/react-native-modal-popover ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-modal-popover@file:# +yarn add @react-native-oh-tpl/react-native-modal-popover ``` diff --git a/zh-cn/react-native-modal.md b/zh-cn/react-native-modal.md index c5d35016..60f7e184 100644 --- a/zh-cn/react-native-modal.md +++ b/zh-cn/react-native-modal.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-modal Releases](https://github.com/react-native-oh-library/react-native-modal/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-modal Releases](https://github.com/react-native-oh-library/react-native-modal/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-modal@file:# +npm install @react-native-oh-tpl/react-native-modal ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-modal@file:# +yarn add @react-native-oh-tpl/react-native-modal ``` diff --git a/zh-cn/react-native-modalbox.md b/zh-cn/react-native-modalbox.md index 0f500c32..c381787e 100644 --- a/zh-cn/react-native-modalbox.md +++ b/zh-cn/react-native-modalbox.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-modalbox Releases](https://github.com/react-native-oh-library/react-native-modalbox/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-modalbox Releases](https://github.com/react-native-oh-library/react-native-modalbox/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-modalbox@file:# +npm install @react-native-oh-tpl/react-native-modalbox ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-modalbox@file:# +yarn add @react-native-oh-tpl/react-native-modalbox ``` diff --git a/zh-cn/react-native-multi-slider.md b/zh-cn/react-native-multi-slider.md index fb09b6d8..af40493e 100644 --- a/zh-cn/react-native-multi-slider.md +++ b/zh-cn/react-native-multi-slider.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-multi-slider Releases](https://github.com/react-native-oh-library/react-native-multi-slider/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-multi-slider Releases](https://github.com/react-native-oh-library/react-native-multi-slider/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-multi-slider@file:# +npm install @react-native-oh-tpl/react-native-multi-slider ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-multi-slider@file:# +yarn add @react-native-oh-tpl/react-native-multi-slider ``` diff --git a/zh-cn/react-native-neomorph-shadows.md b/zh-cn/react-native-neomorph-shadows.md index b92b342c..4350091f 100644 --- a/zh-cn/react-native-neomorph-shadows.md +++ b/zh-cn/react-native-neomorph-shadows.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-neomorph-shadows Releases](https://github.com/react-native-oh-library/react-native-neomorph-shadows/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-neomorph-shadows Releases](https://github.com/react-native-oh-library/react-native-neomorph-shadows/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-neomorph-shadows@file:# +npm install @react-native-oh-tpl/react-native-neomorph-shadows ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-neomorph-shadows@file:# +yarn add @react-native-oh-tpl/react-native-neomorph-shadows ``` diff --git a/zh-cn/react-native-nested-scroll-view.md b/zh-cn/react-native-nested-scroll-view.md index bbf71ddd..0a3f1416 100644 --- a/zh-cn/react-native-nested-scroll-view.md +++ b/zh-cn/react-native-nested-scroll-view.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-nested-scroll-view Releases](https://github.com/react-native-oh-library/react-native-nested-scroll-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-nested-scroll-view Releases](https://github.com/react-native-oh-library/react-native-nested-scroll-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-nested-scroll-view@file:# +npm install @react-native-oh-tpl/react-native-nested-scroll-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-nested-scroll-view@file:# +yarn add @react-native-oh-tpl/react-native-nested-scroll-view ``` diff --git a/zh-cn/react-native-network-info.md b/zh-cn/react-native-network-info.md index d68b387a..307b4d8e 100644 --- a/zh-cn/react-native-network-info.md +++ b/zh-cn/react-native-network-info.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-network-info Releases](https://github.com/react-native-oh-library/react-native-network-info/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-network-info Releases](https://github.com/react-native-oh-library/react-native-network-info/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-network-info@file:# +npm install @react-native-oh-tpl/react-native-network-info ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-network-info@file:# +yarn add @react-native-oh-tpl/react-native-network-info ``` diff --git a/zh-cn/react-native-ohos-community-auto-fill.md b/zh-cn/react-native-ohos-community-auto-fill.md index 7d2c0588..9de682e7 100644 --- a/zh-cn/react-native-ohos-community-auto-fill.md +++ b/zh-cn/react-native-ohos-community-auto-fill.md @@ -22,19 +22,17 @@ auto-fill 基于 HarmonyOS [autoFillManager](https://developer.huawei.com/consum ## 安装 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos-community/auto-fill Releases](https://github.com/react-native-oh-library/auto-fill/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-ohos-community/auto-fill Releases](https://github.com/react-native-oh-library/auto-fill/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - - **npm** ```bash - npm install @react-native-ohos-community/auto-fill@file:# + npm install @react-native-ohos-community/auto-fill ``` - **yarn** ```bash - yarn add @react-native-ohos-community/auto-fill@file:# + yarn add @react-native-ohos-community/auto-fill ``` ## 使用说明 diff --git a/zh-cn/react-native-orientation-locker.md b/zh-cn/react-native-orientation-locker.md index fb72e990..5a8a0cce 100644 --- a/zh-cn/react-native-orientation-locker.md +++ b/zh-cn/react-native-orientation-locker.md @@ -16,24 +16,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-orientation-locker Releases](https://github.com/react-native-oh-library/react-native-orientation-locker/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-orientation-locker Releases](https://github.com/react-native-oh-library/react-native-orientation-locker/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### npm ```bash -npm install @react-native-oh-tpl/react-native-orientation-locker@file:# +npm install @react-native-oh-tpl/react-native-orientation-locker ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-orientation-locker@file:# +yarn add @react-native-oh-tpl/react-native-orientation-locker ``` diff --git a/zh-cn/react-native-orientation.md b/zh-cn/react-native-orientation.md index 5a3750ee..e4d07ef8 100644 --- a/zh-cn/react-native-orientation.md +++ b/zh-cn/react-native-orientation.md @@ -17,24 +17,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-orientation Releases](https://github.com/react-native-oh-library/react-native-orientation/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-orientation Releases](https://github.com/react-native-oh-library/react-native-orientation/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### npm ```bash -npm install @react-native-oh-tpl/react-native-orientation@file:# +npm install @react-native-oh-tpl/react-native-orientation ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-orientation@file:# +yarn add @react-native-oh-tpl/react-native-orientation ``` diff --git a/zh-cn/react-native-pager-view.md b/zh-cn/react-native-pager-view.md index ea882db3..7eecba89 100644 --- a/zh-cn/react-native-pager-view.md +++ b/zh-cn/react-native-pager-view.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-pager-view Releases](https://github.com/react-native-oh-library/react-native-pager-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-pager-view Releases](https://github.com/react-native-oh-library/react-native-pager-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-pager-view@file:# +npm install @react-native-oh-tpl/react-native-pager-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-pager-view@file:# +yarn add @react-native-oh-tpl/react-native-pager-view ``` diff --git a/zh-cn/react-native-pdf.md b/zh-cn/react-native-pdf.md index fc6bfaee..342fb589 100644 --- a/zh-cn/react-native-pdf.md +++ b/zh-cn/react-native-pdf.md @@ -16,7 +16,7 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-pdf Releases](https://github.com/react-native-oh-library/react-native-pdf/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-pdf Releases](https://github.com/react-native-oh-library/react-native-pdf/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -25,13 +25,13 @@ #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-pdf@file:# +npm install @react-native-oh-tpl/react-native-pdf ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-pdf@file:# +yarn add @react-native-oh-tpl/react-native-pdf ``` diff --git a/zh-cn/react-native-performance.md b/zh-cn/react-native-performance.md index 2078a664..818b257a 100644 --- a/zh-cn/react-native-performance.md +++ b/zh-cn/react-native-performance.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-performance Releases](https://github.com/react-native-oh-library/react-native-performance/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-performance@file:# +npm install @react-native-oh-tpl/react-native-performance ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-performance@file:# +yarn add @react-native-oh-tpl/react-native-performance ``` diff --git a/zh-cn/react-native-permissions.md b/zh-cn/react-native-permissions.md index f115c80d..efbd5ede 100644 --- a/zh-cn/react-native-permissions.md +++ b/zh-cn/react-native-permissions.md @@ -16,7 +16,7 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-permissions Releases](https://github.com/react-native-oh-library/react-native-permissions/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-permissions Releases](https://github.com/react-native-oh-library/react-native-permissions/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -25,13 +25,13 @@ #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-permissions@file:# +npm install @react-native-oh-tpl/react-native-permissions ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-permissions@file:# +yarn add @react-native-oh-tpl/react-native-permissions ``` diff --git a/zh-cn/react-native-picker-picker.md b/zh-cn/react-native-picker-picker.md index 0e77a9ac..24880322 100644 --- a/zh-cn/react-native-picker-picker.md +++ b/zh-cn/react-native-picker-picker.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/picker Releases](https://github.com/react-native-oh-library/picker/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/picker Releases](https://github.com/react-native-oh-library/picker/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/picker@file:# +npm install @react-native-oh-tpl/picker ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/picker@file:# +yarn add @react-native-oh-tpl/picker ``` diff --git a/zh-cn/react-native-picker-select.md b/zh-cn/react-native-picker-select.md index eeeddc02..bef59199 100644 --- a/zh-cn/react-native-picker-select.md +++ b/zh-cn/react-native-picker-select.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-picker-select Releases](https://github.com/react-native-oh-library/react-native-picker-select/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-picker-select Releases](https://github.com/react-native-oh-library/react-native-picker-select/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-picker-select@file:# +npm install @react-native-oh-tpl/react-native-picker-select ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-picker-select@file:# +yarn add @react-native-oh-tpl/react-native-picker-select ``` diff --git a/zh-cn/react-native-picker.md b/zh-cn/react-native-picker.md index a3863325..13857050 100644 --- a/zh-cn/react-native-picker.md +++ b/zh-cn/react-native-picker.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-picker Releases](https://github.com/react-native-oh-library/react-native-picker/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-picker Releases](https://github.com/react-native-oh-library/react-native-picker/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-picker@file:# +npm install @react-native-oh-tpl/react-native-picker ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-picker@file:# +yarn add @react-native-oh-tpl/react-native-picker ``` diff --git a/zh-cn/react-native-popover-view.md b/zh-cn/react-native-popover-view.md index 5ed90939..89608d4f 100644 --- a/zh-cn/react-native-popover-view.md +++ b/zh-cn/react-native-popover-view.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[<@react-native-oh-tpl/react-native-popover-view> Releases](https://github.com/react-native-oh-library/react-native-popover-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[<@react-native-oh-tpl/react-native-popover-view> Releases](https://github.com/react-native-oh-library/react-native-popover-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### npm ```bash -npm install @react-native-oh-tpl/react-native-popover-view@file:# +npm install @react-native-oh-tpl/react-native-popover-view ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-popover-view@file:# +yarn add @react-native-oh-tpl/react-native-popover-view ``` diff --git a/zh-cn/react-native-print.md b/zh-cn/react-native-print.md index 6a93468b..34f390ff 100644 --- a/zh-cn/react-native-print.md +++ b/zh-cn/react-native-print.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-print Releases](https://github.com/react-native-oh-library/react-native-print/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-print Releases](https://github.com/react-native-oh-library/react-native-print/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-print@file:# +npm install @react-native-oh-tpl/react-native-print ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-print@file:# +yarn add @react-native-oh-tpl/react-native-print ``` diff --git a/zh-cn/react-native-progress.md b/zh-cn/react-native-progress.md index c072bbdd..8c5f14e7 100644 --- a/zh-cn/react-native-progress.md +++ b/zh-cn/react-native-progress.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-progress Releases](https://github.com/react-native-oh-library/react-native-progress/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-progress Releases](https://github.com/react-native-oh-library/react-native-progress/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-progress@file:# +npm install @react-native-oh-tpl/react-native-progress ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-progress@file:# +yarn add @react-native-oh-tpl/react-native-progress ``` diff --git a/zh-cn/react-native-pull.md b/zh-cn/react-native-pull.md index 61a09027..cded89f4 100644 --- a/zh-cn/react-native-pull.md +++ b/zh-cn/react-native-pull.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的地址查看配套的版本信息:[@react-native-oh-tpl/react-native-pull/releases](https://github.com/react-native-oh-library/react-native-pull/releases),并下载适用版本的 tgz 包。 +请到三方库的地址查看配套的版本信息:[@react-native-oh-tpl/react-native-pull/releases](https://github.com/react-native-oh-library/react-native-pull/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-pull@file:# +npm install @react-native-oh-tpl/react-native-pull ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-pull@file:# +yarn add @react-native-oh-tpl/react-native-pull ``` diff --git a/zh-cn/react-native-qr-decode-image-camera.md b/zh-cn/react-native-qr-decode-image-camera.md index b7482989..1ba1cc15 100644 --- a/zh-cn/react-native-qr-decode-image-camera.md +++ b/zh-cn/react-native-qr-decode-image-camera.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-qr-decode-image-camera Releases](https://github.com/react-native-oh-library/react-native-qr-decode-image-camera/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-qr-decode-image-camera Releases](https://github.com/react-native-oh-library/react-native-qr-decode-image-camera/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-qr-decode-image-camera@file:# +npm install @react-native-oh-tpl/react-native-qr-decode-image-camera ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-qr-decode-image-camera@file:# +yarn add @react-native-oh-tpl/react-native-qr-decode-image-camera ``` diff --git a/zh-cn/react-native-quick-base64.md b/zh-cn/react-native-quick-base64.md index aa96cd7d..7d000a5d 100644 --- a/zh-cn/react-native-quick-base64.md +++ b/zh-cn/react-native-quick-base64.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-quick-base64 Releases](https://github.com/react-native-oh-library/react-native-quick-base64/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-quick-base64 Releases](https://github.com/react-native-oh-library/react-native-quick-base64/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-quick-base64@file:# +npm install @react-native-oh-tpl/react-native-quick-base64 ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-quick-base64@file:# +yarn add @react-native-oh-tpl/react-native-quick-base64 ``` diff --git a/zh-cn/react-native-randombytes.md b/zh-cn/react-native-randombytes.md index 8a1cdc85..8bd3f776 100644 --- a/zh-cn/react-native-randombytes.md +++ b/zh-cn/react-native-randombytes.md @@ -19,24 +19,24 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-randombytes Releases](https://github.com/react-native-oh-library/react-native-randombytes/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-randombytes Releases](https://github.com/react-native-oh-library/react-native-randombytes/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 + #### npm ```bash -npm install @react-native-oh-tpl/react-native-randombytes@file:# +npm install @react-native-oh-tpl/react-native-randombytes ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-randombytes@file:# +yarn add @react-native-oh-tpl/react-native-randombytes ``` diff --git a/zh-cn/react-native-reanimated-bottom-sheet.md b/zh-cn/react-native-reanimated-bottom-sheet.md index 60d33571..9ea02a9b 100644 --- a/zh-cn/react-native-reanimated-bottom-sheet.md +++ b/zh-cn/react-native-reanimated-bottom-sheet.md @@ -18,7 +18,7 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-reanimated-bottom-sheet Releases](https://github.com/react-native-oh-library/react-native-reanimated-bottom-sheet/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-reanimated-bottom-sheet Releases](https://github.com/react-native-oh-library/react-native-reanimated-bottom-sheet/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -27,13 +27,13 @@ #### **npm** ```bash -npm install @react-native-oh-tpl/reanimated-bottom-sheet@file:# +npm install @react-native-oh-tpl/reanimated-bottom-sheet ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/reanimated-bottom-sheet@file:# +yarn add @react-native-oh-tpl/reanimated-bottom-sheet ``` diff --git a/zh-cn/react-native-reanimated.md b/zh-cn/react-native-reanimated.md index 38ada29d..5dd04f57 100644 --- a/zh-cn/react-native-reanimated.md +++ b/zh-cn/react-native-reanimated.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-reanimated Releases](https://github.com/react-native-oh-library/react-native-harmony-reanimated/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-reanimated Releases](https://github.com/react-native-oh-library/react-native-harmony-reanimated/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-reanimated@file:# +npm install @react-native-oh-tpl/react-native-reanimated ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-reanimated@file:# +yarn add @react-native-oh-tpl/react-native-reanimated ``` diff --git a/zh-cn/react-native-restart.md b/zh-cn/react-native-restart.md index f9a8baf7..a09dcea3 100644 --- a/zh-cn/react-native-restart.md +++ b/zh-cn/react-native-restart.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-restart Releases](https://github.com/react-native-oh-library/react-native-restart/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-restart Releases](https://github.com/react-native-oh-library/react-native-restart/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-restart@file:# +npm install @react-native-oh-tpl/react-native-restart ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-restart@file:# +yarn add @react-native-oh-tpl/react-native-restart ``` diff --git a/zh-cn/react-native-root-modal.md b/zh-cn/react-native-root-modal.md index 46136b11..f3a1aee1 100644 --- a/zh-cn/react-native-root-modal.md +++ b/zh-cn/react-native-root-modal.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-root-modal Releases](https://github.com/react-native-oh-library/react-native-root-modal/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-root-modal Releases](https://github.com/react-native-oh-library/react-native-root-modal/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-root-modal@file:# +npm install @react-native-oh-tpl/react-native-root-modal ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-root-modal@file:# +yarn add @react-native-oh-tpl/react-native-root-modal ``` diff --git a/zh-cn/react-native-safe-area-context.md b/zh-cn/react-native-safe-area-context.md index bddfce0a..bc4a8af9 100644 --- a/zh-cn/react-native-safe-area-context.md +++ b/zh-cn/react-native-safe-area-context.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-safe-area-context Releases](https://github.com/react-native-oh-library/react-native-safe-area-context/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-safe-area-context Releases](https://github.com/react-native-oh-library/react-native-safe-area-context/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-safe-area-context@file:# +npm install @react-native-oh-tpl/react-native-safe-area-context ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-safe-area-context@file:# +yarn add @react-native-oh-tpl/react-native-safe-area-context ``` diff --git a/zh-cn/react-native-safe-module.md b/zh-cn/react-native-safe-module.md index 7dc28b9e..3937058f 100644 --- a/zh-cn/react-native-safe-module.md +++ b/zh-cn/react-native-safe-module.md @@ -16,25 +16,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-safe-module Releases](https://github.com/react-native-oh-library/react-native-safe-module/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-safe-module Releases](https://github.com/react-native-oh-library/react-native-safe-module/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-safe-module@file:# +npm install @react-native-oh-tpl/react-native-safe-module ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-safe-module@file:# +yarn add @react-native-oh-tpl/react-native-safe-module ``` diff --git a/zh-cn/react-native-safe-modules.md b/zh-cn/react-native-safe-modules.md index f2164016..82b539b6 100644 --- a/zh-cn/react-native-safe-modules.md +++ b/zh-cn/react-native-safe-modules.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-safe-modules Releases](https://github.com/react-native-oh-library/react-native-safe-modules/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-safe-modules Releases](https://github.com/react-native-oh-library/react-native-safe-modules/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-safe-modules@file:# +npm install @react-native-oh-tpl/react-native-safe-modules ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-safe-modules@file:# +yarn add @react-native-oh-tpl/react-native-safe-modules ``` diff --git a/zh-cn/react-native-screenshot-prevent.md b/zh-cn/react-native-screenshot-prevent.md index 932d6d9d..189e067c 100644 --- a/zh-cn/react-native-screenshot-prevent.md +++ b/zh-cn/react-native-screenshot-prevent.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-screenshot-prevent Releases](https://github.com/react-native-oh-library/react-native-screenshot-prevent/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-screenshot-prevent Releases](https://github.com/react-native-oh-library/react-native-screenshot-prevent/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-screenshot-prevent@file:# +npm install @react-native-oh-tpl/react-native-screenshot-prevent ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-screenshot-prevent@file:# +yarn add @react-native-oh-tpl/react-native-screenshot-prevent ``` diff --git a/zh-cn/react-native-scroll-bottom-sheet.md b/zh-cn/react-native-scroll-bottom-sheet.md index 3228e290..11afdbd6 100644 --- a/zh-cn/react-native-scroll-bottom-sheet.md +++ b/zh-cn/react-native-scroll-bottom-sheet.md @@ -18,7 +18,7 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-scroll-bottom-sheet Releases](https://github.com/react-native-oh-library/react-native-scroll-bottom-sheet/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-scroll-bottom-sheet Releases](https://github.com/react-native-oh-library/react-native-scroll-bottom-sheet/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -27,13 +27,13 @@ #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-scroll-bottom-sheet@file:# +npm install @react-native-oh-tpl/react-native-scroll-bottom-sheet ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-scroll-bottom-sheet@file:# +yarn add @react-native-oh-tpl/react-native-scroll-bottom-sheet ``` diff --git a/zh-cn/react-native-scrollable-tab-view.md b/zh-cn/react-native-scrollable-tab-view.md index 92892544..f0584063 100644 --- a/zh-cn/react-native-scrollable-tab-view.md +++ b/zh-cn/react-native-scrollable-tab-view.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-scrollable-tab-view Releases](https://github.com/react-native-oh-library/react-native-scrollable-tab-view/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-scrollable-tab-view Releases](https://github.com/react-native-oh-library/react-native-scrollable-tab-view/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-scrollable-tab-view@file:# +npm install @react-native-oh-tpl/react-native-scrollable-tab-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-scrollable-tab-view@file:# +yarn add @react-native-oh-tpl/react-native-scrollable-tab-view ``` diff --git a/zh-cn/react-native-securerandom.md b/zh-cn/react-native-securerandom.md index d7dcf317..c4522c24 100644 --- a/zh-cn/react-native-securerandom.md +++ b/zh-cn/react-native-securerandom.md @@ -17,24 +17,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-securerandom Releases](https://github.com/react-native-oh-library/react-native-securerandom/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-securerandom Releases](https://github.com/react-native-oh-library/react-native-securerandom/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### npm ```bash -npm install @react-native-oh-tpl/react-native-securerandom@file:# +npm install @react-native-oh-tpl/react-native-securerandom ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-securerandom@file:# +yarn add @react-native-oh-tpl/react-native-securerandom ``` diff --git a/zh-cn/react-native-send-intent.md b/zh-cn/react-native-send-intent.md index 7597c5f6..fe55d9e8 100644 --- a/zh-cn/react-native-send-intent.md +++ b/zh-cn/react-native-send-intent.md @@ -16,24 +16,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-send-intent Releases](https://github.com/react-native-oh-library/react-native-send-intent/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-send-intent Releases](https://github.com/react-native-oh-library/react-native-send-intent/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### npm ```bash -npm install @react-native-oh-tpl/react-native-send-intent@file:# +npm install @react-native-oh-tpl/react-native-send-intent ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-send-intent@file:# +yarn add @react-native-oh-tpl/react-native-send-intent ``` diff --git a/zh-cn/react-native-sensitive-info.md b/zh-cn/react-native-sensitive-info.md index af4f2a39..4e87e62e 100644 --- a/zh-cn/react-native-sensitive-info.md +++ b/zh-cn/react-native-sensitive-info.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-sensitive-info Releases](https://github.com/react-native-oh-library/react-native-sensitive-info/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-sensitive-info Releases](https://github.com/react-native-oh-library/react-native-sensitive-info/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-sensitive-info@file:# +npm install @react-native-oh-tpl/react-native-sensitive-info ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-sensitive-info@file:# +yarn add @react-native-oh-tpl/react-native-sensitive-info ``` diff --git a/zh-cn/react-native-sensors.md b/zh-cn/react-native-sensors.md index 098fc8a4..0ea9169e 100644 --- a/zh-cn/react-native-sensors.md +++ b/zh-cn/react-native-sensors.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-sensors Releases](https://github.com/react-native-oh-library/react-native-sensors/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-sensors Releases](https://github.com/react-native-oh-library/react-native-sensors/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-sensors@file:# +npm install @react-native-oh-tpl/react-native-sensors ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-sensors@file:# +yarn add @react-native-oh-tpl/react-native-sensors ``` diff --git a/zh-cn/react-native-shake.md b/zh-cn/react-native-shake.md index 46720912..b5914b79 100644 --- a/zh-cn/react-native-shake.md +++ b/zh-cn/react-native-shake.md @@ -16,25 +16,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-shake Releases](https://github.com/react-native-oh-library/react-native-shake/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-shake Releases](https://github.com/react-native-oh-library/react-native-shake/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-shake@file:# +npm install @react-native-oh-tpl/react-native-shake ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-shake@file:# +yarn add @react-native-oh-tpl/react-native-shake ``` diff --git a/zh-cn/react-native-share.md b/zh-cn/react-native-share.md index 73aab6ea..e16d5c01 100644 --- a/zh-cn/react-native-share.md +++ b/zh-cn/react-native-share.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-share Releases](https://github.com/react-native-oh-library/react-native-share/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-share Releases](https://github.com/react-native-oh-library/react-native-share/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-share@file:# +npm install @react-native-oh-tpl/react-native-share ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-share@file:# +yarn add @react-native-oh-tpl/react-native-share ``` diff --git a/zh-cn/react-native-shared-element.md b/zh-cn/react-native-shared-element.md index 3239d185..396b3e86 100644 --- a/zh-cn/react-native-shared-element.md +++ b/zh-cn/react-native-shared-element.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-shared-element Releases](https://github.com/react-native-oh-library/react-native-shared-element/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-shared-element Releases](https://github.com/react-native-oh-library/react-native-shared-element/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-shared-element@file:# +npm install @react-native-oh-tpl/react-native-shared-element ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-shared-element@file:# +yarn add @react-native-oh-tpl/react-native-shared-element ``` diff --git a/zh-cn/react-native-signature-capture.md b/zh-cn/react-native-signature-capture.md index ccd8ed9b..de6801ae 100644 --- a/zh-cn/react-native-signature-capture.md +++ b/zh-cn/react-native-signature-capture.md @@ -19,24 +19,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-signature-capture Releases](https://github.com/react-native-oh-library/react-native-signature-capture/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-signature-capture Releases](https://github.com/react-native-oh-library/react-native-signature-capture/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### npm ```bash -npm install @react-native-oh-tpl/react-native-signature-capture@file:# +npm install @react-native-oh-tpl/react-native-signature-capture ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-signature-capture@file:# +yarn add @react-native-oh-tpl/react-native-signature-capture ``` diff --git a/zh-cn/react-native-simple-toast.md b/zh-cn/react-native-simple-toast.md index bd931097..e49c1161 100644 --- a/zh-cn/react-native-simple-toast.md +++ b/zh-cn/react-native-simple-toast.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-simple-toast Releases](https://github.com/react-native-oh-library/react-native-simple-toast/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-simple-toast Releases](https://github.com/react-native-oh-library/react-native-simple-toast/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-simple-toast@file:# +npm install @react-native-oh-tpl/react-native-simple-toast ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-simple-toast@file:# +yarn add @react-native-oh-tpl/react-native-simple-toast ``` diff --git a/zh-cn/react-native-skia.md b/zh-cn/react-native-skia.md index ac8debb8..6f19d287 100644 --- a/zh-cn/react-native-skia.md +++ b/zh-cn/react-native-skia.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-skia Releases](https://github.com/react-native-oh-library/react-native-skia/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-skia Releases](https://github.com/react-native-oh-library/react-native-skia/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-skia@file:# +npm install @react-native-oh-tpl/react-native-skia ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-skia@file:# +yarn add @react-native-oh-tpl/react-native-skia ``` diff --git a/zh-cn/react-native-slider.md b/zh-cn/react-native-slider.md index 24acd978..af613f5d 100644 --- a/zh-cn/react-native-slider.md +++ b/zh-cn/react-native-slider.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/jeanregisser-react-native-slider Releases](https://github.com/react-native-oh-library/jeanregisser-react-native-slider/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/jeanregisser-react-native-slider Releases](https://github.com/react-native-oh-library/jeanregisser-react-native-slider/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm i @react-native-oh-tpl/react-native-slider@file:# +npm i @react-native-oh-tpl/react-native-slider ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-slider@file:# +yarn add @react-native-oh-tpl/react-native-slider ``` diff --git a/zh-cn/react-native-snackbar.md b/zh-cn/react-native-snackbar.md index 2942fbf6..df91cfb1 100644 --- a/zh-cn/react-native-snackbar.md +++ b/zh-cn/react-native-snackbar.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-snackbar Releases](https://github.com/react-native-oh-library/react-native-snackbar/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-snackbar Releases](https://github.com/react-native-oh-library/react-native-snackbar/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-snackbar@file:# +npm install @react-native-oh-tpl/react-native-snackbar ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-snackbar@file:# +yarn add @react-native-oh-tpl/react-native-snackbar ``` diff --git a/zh-cn/react-native-snap-carousel.md b/zh-cn/react-native-snap-carousel.md index f39c4c8d..958b14cf 100644 --- a/zh-cn/react-native-snap-carousel.md +++ b/zh-cn/react-native-snap-carousel.md @@ -16,23 +16,21 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-snap-carousel Releases](https://github.com/react-native-oh-library/react-native-snap-carousel/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-snap-carousel Releases](https://github.com/react-native-oh-library/react-native-snap-carousel/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-snap-carousel@file:# +npm install @react-native-oh-tpl/react-native-snap-carousel ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-snap-carousel@file:# +yarn add @react-native-oh-tpl/react-native-snap-carousel ``` diff --git a/zh-cn/react-native-sortable-list.md b/zh-cn/react-native-sortable-list.md index 2f569ad1..1ee3e0e0 100644 --- a/zh-cn/react-native-sortable-list.md +++ b/zh-cn/react-native-sortable-list.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-sortabel-list Releases](https://github.com/react-native-oh-library/react-native-sortable-list/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-sortabel-list Releases](https://github.com/react-native-oh-library/react-native-sortable-list/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-sortable-list@file:# +npm install @react-native-oh-tpl/react-native-sortable-list ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-sortable-list@file:# +yarn add @react-native-oh-tpl/react-native-sortable-list ``` diff --git a/zh-cn/react-native-sound.md b/zh-cn/react-native-sound.md index 77ed84cb..763a30ea 100644 --- a/zh-cn/react-native-sound.md +++ b/zh-cn/react-native-sound.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-sound Releases](https://github.com/react-native-oh-library/react-native-sound/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-sound Releases](https://github.com/react-native-oh-library/react-native-sound/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### npm ```bash -npm install @react-native-oh-tpl/react-native-sound@file:# +npm install @react-native-oh-tpl/react-native-sound ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-sound@file:# +yarn add @react-native-oh-tpl/react-native-sound ``` diff --git a/zh-cn/react-native-spinkit.md b/zh-cn/react-native-spinkit.md index 84262251..5e81273e 100644 --- a/zh-cn/react-native-spinkit.md +++ b/zh-cn/react-native-spinkit.md @@ -20,24 +20,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-spinkit Releases](https://github.com/react-native-oh-library/react-native-spinkit/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-spinkit Releases](https://github.com/react-native-oh-library/react-native-spinkit/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-spinkit@file:# +npm install @react-native-oh-tpl/react-native-spinkit ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-spinkit@file:# +yarn add @react-native-oh-tpl/react-native-spinkit ``` diff --git a/zh-cn/react-native-splash-screen.md b/zh-cn/react-native-splash-screen.md index 2b4f2ec9..829db5fc 100644 --- a/zh-cn/react-native-splash-screen.md +++ b/zh-cn/react-native-splash-screen.md @@ -16,25 +16,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-splash-screen Releases](https://github.com/react-native-oh-library/react-native-splash-screen/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-splash-screen Releases](https://github.com/react-native-oh-library/react-native-splash-screen/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-splash-screen@file:# +npm install @react-native-oh-tpl/react-native-splash-screen ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-splash-screen@file:# +yarn add @react-native-oh-tpl/react-native-splash-screen ``` diff --git a/zh-cn/react-native-spring-scrollview.md b/zh-cn/react-native-spring-scrollview.md index cd13f2a7..462d044a 100644 --- a/zh-cn/react-native-spring-scrollview.md +++ b/zh-cn/react-native-spring-scrollview.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-spring-scrollview Releases](https://github.com/react-native-oh-library/react-native-spring-scrollview/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-spring-scrollview Releases](https://github.com/react-native-oh-library/react-native-spring-scrollview/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-spring-scrollview@file:# +npm install @react-native-oh-tpl/react-native-spring-scrollview ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-spring-scrollview@file:# +yarn add @react-native-oh-tpl/react-native-spring-scrollview ``` diff --git a/zh-cn/react-native-sqlite-storage.md b/zh-cn/react-native-sqlite-storage.md index 488766d6..83f53a48 100644 --- a/zh-cn/react-native-sqlite-storage.md +++ b/zh-cn/react-native-sqlite-storage.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-sqlite-storage Releases](https://github.com/react-native-oh-library/react-native-sqlite-storage/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-sqlite-storage Releases](https://github.com/react-native-oh-library/react-native-sqlite-storage/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-sqlite-storage@file:# +npm install @react-native-oh-tpl/react-native-sqlite-storage ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-sqlite-storage@file:# +yarn add @react-native-oh-tpl/react-native-sqlite-storage ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/react-native-ssl-pinning.md b/zh-cn/react-native-ssl-pinning.md index 2fb47ec4..adee064b 100644 --- a/zh-cn/react-native-ssl-pinning.md +++ b/zh-cn/react-native-ssl-pinning.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-ssl-pinning Releases](https://github.com/react-native-oh-library/react-native-ssl-pinning/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-ssl-pinning Releases](https://github.com/react-native-oh-library/react-native-ssl-pinning/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-ssl-pinning@file:# +npm install @react-native-oh-tpl/react-native-ssl-pinning ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-ssl-pinning@file:# +yarn add @react-native-oh-tpl/react-native-ssl-pinning ``` diff --git a/zh-cn/react-native-stickyheader.md b/zh-cn/react-native-stickyheader.md index b06d5e85..f43e6136 100644 --- a/zh-cn/react-native-stickyheader.md +++ b/zh-cn/react-native-stickyheader.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-stickyheader Releases](https://github.com/react-native-oh-library/react-native-stickyheader/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-stickyheader Releases](https://github.com/react-native-oh-library/react-native-stickyheader/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-stickyheader@file:# +npm install @react-native-oh-tpl/react-native-stickyheader ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-stickyheader@file:# +yarn add @react-native-oh-tpl/react-native-stickyheader ``` diff --git a/zh-cn/react-native-svg-capi.md b/zh-cn/react-native-svg-capi.md index 26e13fa1..b4568374 100644 --- a/zh-cn/react-native-svg-capi.md +++ b/zh-cn/react-native-svg-capi.md @@ -16,26 +16,24 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-svg Releases](https://github.com/react-native-oh-library/react-native-harmony-svg/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-svg Releases](https://github.com/react-native-oh-library/react-native-harmony-svg/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash npm install react-native-svg@15.0.0 -npm install @react-native-oh-tpl/react-native-svg@file:# +npm install @react-native-oh-tpl/react-native-svg ``` #### **yarn** ```bash yarn add react-native-svg@15.0.0 -yarn add @react-native-oh-tpl/react-native-svg@file:# +yarn add @react-native-oh-tpl/react-native-svg ``` diff --git a/zh-cn/react-native-svg-charts.md b/zh-cn/react-native-svg-charts.md index 7fec629e..f93353d9 100644 --- a/zh-cn/react-native-svg-charts.md +++ b/zh-cn/react-native-svg-charts.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[https://github.com/react-native-oh-library/react-native-svg-charts Releases](https://github.com/react-native-oh-library/react-native-svg-charts/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[https://github.com/react-native-oh-library/react-native-svg-charts Releases](https://github.com/react-native-oh-library/react-native-svg-charts/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-naitve-svg-charts@file:# +npm install @react-native-oh-tpl/react-naitve-svg-charts ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-naitve-svg-charts@file:# +yarn add @react-native-oh-tpl/react-naitve-svg-charts ``` diff --git a/zh-cn/react-native-svg.md b/zh-cn/react-native-svg.md index d23e86be..43e36a8d 100644 --- a/zh-cn/react-native-svg.md +++ b/zh-cn/react-native-svg.md @@ -20,24 +20,22 @@ > [!tip] 如需继续使用请移步至[react-native-svg-capi](/zh-cn/react-native-svg-capi.md) 使用CAPI版本的 react-native-svg。 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-svg Releases](https://github.com/react-native-oh-library/react-native-svg/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-svg Releases](https://github.com/react-native-oh-library/react-native-svg/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-svg@file:# +npm install @react-native-oh-tpl/react-native-svg ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-svg@file:# +yarn add @react-native-oh-tpl/react-native-svg ``` diff --git a/zh-cn/react-native-swipe-list-view.md b/zh-cn/react-native-swipe-list-view.md index 5af421b4..f0ccbbfb 100644 --- a/zh-cn/react-native-swipe-list-view.md +++ b/zh-cn/react-native-swipe-list-view.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-swipe-list-view Releases](https://github.com/react-native-oh-library/react-native-swipe-list-view/releases/),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-swipe-list-view Releases](https://github.com/react-native-oh-library/react-native-swipe-list-view/releases/) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install --save @react-native-oh-tpl/react-native-swipe-list-view@file:# +npm install --save @react-native-oh-tpl/react-native-swipe-list-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-swipe-list-view@file:# +yarn add @react-native-oh-tpl/react-native-swipe-list-view ``` diff --git a/zh-cn/react-native-switch-pro.md b/zh-cn/react-native-switch-pro.md index b10d69a2..47718014 100644 --- a/zh-cn/react-native-switch-pro.md +++ b/zh-cn/react-native-switch-pro.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-switch-pro Releases](https://github.com/react-native-oh-library/react-native-switch-pro/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-switch-pro Releases](https://github.com/react-native-oh-library/react-native-switch-pro/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-switch-pro@file:# +npm install @react-native-oh-tpl/react-native-switch-pro ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-switch-pro@file:# +yarn add @react-native-oh-tpl/react-native-switch-pro ``` diff --git a/zh-cn/react-native-syan-image-picker.md b/zh-cn/react-native-syan-image-picker.md index 2e65aa4c..de523a00 100644 --- a/zh-cn/react-native-syan-image-picker.md +++ b/zh-cn/react-native-syan-image-picker.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-syan-image-picker Releases](https://github.com/react-native-oh-library/react-native-syan-image-picker/releases) +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-syan-image-picker Releases](https://github.com/react-native-oh-library/react-native-syan-image-picker/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-syan-image-picker@file:# +npm install @react-native-oh-tpl/react-native-syan-image-picker ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-syan-image-picker@file:# +yarn add @react-native-oh-tpl/react-native-syan-image-picker ``` diff --git a/zh-cn/react-native-system-setting.md b/zh-cn/react-native-system-setting.md index c152a6fc..939073ee 100644 --- a/zh-cn/react-native-system-setting.md +++ b/zh-cn/react-native-system-setting.md @@ -20,24 +20,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-system-setting Releases](https://github.com/react-native-oh-library/react-native-system-setting/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-system-setting Releases](https://github.com/react-native-oh-library/react-native-system-setting/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 #### npm ```bash -npm install @react-native-oh-tpl/react-native-system-setting@file:# +npm install @react-native-oh-tpl/react-native-system-setting ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-system-setting@file:# +yarn add @react-native-oh-tpl/react-native-system-setting ``` diff --git a/zh-cn/react-native-tab-navigator.md b/zh-cn/react-native-tab-navigator.md index 83c1910e..09302949 100644 --- a/zh-cn/react-native-tab-navigator.md +++ b/zh-cn/react-native-tab-navigator.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-tab-navigator Releases](https://github.com/react-native-oh-library/react-native-tab-navigator/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-tab-navigator Releases](https://github.com/react-native-oh-library/react-native-tab-navigator/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-tab-navigator@file:# +npm install @react-native-oh-tpl/react-native-tab-navigator ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-tab-navigator@file:# +yarn add @react-native-oh-tpl/react-native-tab-navigator ``` diff --git a/zh-cn/react-native-tab-view.md b/zh-cn/react-native-tab-view.md index faa5ebee..db6a3aae 100644 --- a/zh-cn/react-native-tab-view.md +++ b/zh-cn/react-native-tab-view.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-tab-view Releases](https://github.com/react-native-oh-library/react-navigation/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-tab-view Releases](https://github.com/react-native-oh-library/react-navigation/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-tab-view@file:# +npm install @react-native-oh-tpl/react-native-tab-view ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-tab-view@file:# +yarn add @react-native-oh-tpl/react-native-tab-view ``` diff --git a/zh-cn/react-native-tcp-socket.md b/zh-cn/react-native-tcp-socket.md index 7bfd7c83..0b63625c 100644 --- a/zh-cn/react-native-tcp-socket.md +++ b/zh-cn/react-native-tcp-socket.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-tcp-socket Releases](https://github.com/react-native-oh-library/react-native-tcp-socket/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-tcp-socket Releases](https://github.com/react-native-oh-library/react-native-tcp-socket/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-tcp-socket@file:# +npm install @react-native-oh-tpl/react-native-tcp-socket ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-tcp-socket@file:# +yarn add @react-native-oh-tpl/react-native-tcp-socket ``` diff --git a/zh-cn/react-native-text-gradient.md b/zh-cn/react-native-text-gradient.md index e200ec7d..43255872 100644 --- a/zh-cn/react-native-text-gradient.md +++ b/zh-cn/react-native-text-gradient.md @@ -17,25 +17,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-text-gradient Releases](https://github.com/react-native-oh-library/react-native-text-gradient/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-text-gradient Releases](https://github.com/react-native-oh-library/react-native-text-gradient/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-text-gradient@file:# +npm install @react-native-oh-tpl/react-native-text-gradient ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-text-gradient@file:# +yarn add @react-native-oh-tpl/react-native-text-gradient ``` diff --git a/zh-cn/react-native-text-input-mask.md b/zh-cn/react-native-text-input-mask.md index b1ba5a73..9f6d3f29 100644 --- a/zh-cn/react-native-text-input-mask.md +++ b/zh-cn/react-native-text-input-mask.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-text-input-mask Releases](https://github.com/react-native-oh-library/react-native-text-input-mask/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-text-input-mask Releases](https://github.com/react-native-oh-library/react-native-text-input-mask/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-text-input-mask@file:# +npm install @react-native-oh-tpl/react-native-text-input-mask ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-text-input-mask@file:# +yarn add @react-native-oh-tpl/react-native-text-input-mask ``` -- Gitee From 4b514dd2e737935bddd695d1b02e65e8f61ffeb3 Mon Sep 17 00:00:00 2001 From: qinjianqi Date: Thu, 14 Nov 2024 12:22:51 +0800 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20[Issues:=20#IB45S3]=20=E5=B0=86?= =?UTF-8?q?=E5=85=B6=E4=BD=99=E6=9C=AA=E6=94=B9=E7=9A=84=E6=8C=87=E5=AF=BC?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=AE=89=E8=A3=85=E6=96=B9=E5=BC=8F=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E4=BD=BF=E7=94=A8npm=20=E5=AE=89=E8=A3=85=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E5=BA=93=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/react-native-text-size.md | 8 +- .../react-native-textinput-maxlength-fixed.md | 8 +- zh-cn/react-native-theme-switch-animation.md | 6 +- zh-cn/react-native-thumbnail.md | 8 +- zh-cn/react-native-touch-id.md | 8 +- zh-cn/react-native-track-player.md | 8 +- zh-cn/react-native-transitiongroup.md | 8 +- zh-cn/react-native-translucent-modal.md | 8 +- zh-cn/react-native-tts.md | 8 +- zh-cn/react-native-typography.md | 8 +- zh-cn/react-native-udp.md | 8 +- zh-cn/react-native-ui-lib.md | 8 +- zh-cn/react-native-unistyles.md | 8 +- zh-cn/react-native-user-agent.md | 8 +- zh-cn/react-native-vector-drawable.md | 8 +- zh-cn/react-native-version-number.md | 8 +- zh-cn/react-native-video-cache.md | 8 +- zh-cn/react-native-video.md | 8 +- zh-cn/react-native-view-overflow.md | 8 +- zh-cn/react-native-view-pdf.md | 8 +- zh-cn/react-native-view-shot.md | 8 +- zh-cn/react-native-vision-camera.md | 8 +- zh-cn/react-native-webview.md | 8 +- zh-cn/react-native-worklets-core.md | 8 +- zh-cn/react-native-zip-archive.md | 8 +- zh-cn/react-navigation-drawer.md | 10 +-- zh-cn/react-navigation-elements.md | 8 +- zh-cn/react-navigation-native-stack.md | 9 +-- zh-cn/react-navigation-stack.md | 9 +-- zh-cn/realm-js.md | 12 ++- zh-cn/remobile-react-native-toast.md | 8 +- zh-cn/rn-bugly.md | 6 +- zh-cn/rn-emoji-keyboard.md | 8 +- zh-cn/rn-tourguide.md | 8 +- zh-cn/shopify-flash-list.md | 8 +- zh-cn/tgz-usage.md | 76 +++++++++++++++++++ zh-cn/victory-native-xl.md | 8 +- 37 files changed, 188 insertions(+), 180 deletions(-) create mode 100644 zh-cn/tgz-usage.md diff --git a/zh-cn/react-native-text-size.md b/zh-cn/react-native-text-size.md index e9ac3327..c501bdae 100644 --- a/zh-cn/react-native-text-size.md +++ b/zh-cn/react-native-text-size.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-text-size Releases](https://github.com/react-native-oh-library/react-native-text-size/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-text-size Releases](https://github.com/react-native-oh-library/react-native-text-size/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-text-size@file:# +npm install @react-native-oh-tpl/react-native-text-size ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-text-size@file:# +yarn add @react-native-oh-tpl/react-native-text-size ``` diff --git a/zh-cn/react-native-textinput-maxlength-fixed.md b/zh-cn/react-native-textinput-maxlength-fixed.md index 8eeb16e7..3958486e 100644 --- a/zh-cn/react-native-textinput-maxlength-fixed.md +++ b/zh-cn/react-native-textinput-maxlength-fixed.md @@ -15,24 +15,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-textinput-maxlength-fixed Releases](https://github.com/react-native-oh-library/react-native-textinput-maxlength-fixed/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-textinput-maxlength-fixed Releases](https://github.com/react-native-oh-library/react-native-textinput-maxlength-fixed/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-textinput-maxlength-fixed@file:# +npm install @react-native-oh-tpl/react-native-textinput-maxlength-fixed ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-textinput-maxlength-fixed@file:# +yarn add @react-native-oh-tpl/react-native-textinput-maxlength-fixed ``` diff --git a/zh-cn/react-native-theme-switch-animation.md b/zh-cn/react-native-theme-switch-animation.md index c05d1c1f..db9584e4 100644 --- a/zh-cn/react-native-theme-switch-animation.md +++ b/zh-cn/react-native-theme-switch-animation.md @@ -17,20 +17,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-theme-switch-animation Releases](https://github.com/react-native-oh-library/react-native-theme-switch-animation/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-theme-switch-animation Releases](https://github.com/react-native-oh-library/react-native-theme-switch-animation/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-theme-switch-animation@file:# +npm install @react-native-oh-tpl/react-native-theme-switch-animation ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-theme-switch-animation@file:# +yarn add @react-native-oh-tpl/react-native-theme-switch-animation ``` diff --git a/zh-cn/react-native-thumbnail.md b/zh-cn/react-native-thumbnail.md index c854ae72..3b2636ac 100644 --- a/zh-cn/react-native-thumbnail.md +++ b/zh-cn/react-native-thumbnail.md @@ -15,24 +15,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-thumbnail Releases](https://github.com/react-native-oh-library/react-native-thumbnail/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-thumbnail@file:# +npm install @react-native-oh-tpl/react-native-thumbnail ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-thumbnail@file:# +yarn add @react-native-oh-tpl/react-native-thumbnail ``` diff --git a/zh-cn/react-native-touch-id.md b/zh-cn/react-native-touch-id.md index 0b208450..c1b8fa1c 100644 --- a/zh-cn/react-native-touch-id.md +++ b/zh-cn/react-native-touch-id.md @@ -16,25 +16,23 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-touch-id Releases](https://github.com/react-native-oh-library/react-native-touch-id/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-touch-id Releases](https://github.com/react-native-oh-library/react-native-touch-id/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-touch-id@file:# +npm install @react-native-oh-tpl/react-native-touch-id ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-touch-id@file:# +yarn add @react-native-oh-tpl/react-native-touch-id ``` diff --git a/zh-cn/react-native-track-player.md b/zh-cn/react-native-track-player.md index 334cd0dc..6ca8565b 100644 --- a/zh-cn/react-native-track-player.md +++ b/zh-cn/react-native-track-player.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-track-player Releases](https://github.com/react-native-oh-library/react-native-track-player/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-track-player Releases](https://github.com/react-native-oh-library/react-native-track-player/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-track-player@file:# +npm install @react-native-oh-tpl/react-native-track-player ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-track-player@file:# +yarn add @react-native-oh-tpl/react-native-track-player ``` diff --git a/zh-cn/react-native-transitiongroup.md b/zh-cn/react-native-transitiongroup.md index c66d31d7..e3d4215d 100644 --- a/zh-cn/react-native-transitiongroup.md +++ b/zh-cn/react-native-transitiongroup.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-transitiongroup Releases](https://github.com/react-native-oh-library/react-native-transitiongroup/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-transitiongroup Releases](https://github.com/react-native-oh-library/react-native-transitiongroup/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-transitiongroup@file:# +npm install @react-native-oh-tpl/react-native-transitiongroup ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-transitiongroup@file:# +yarn add @react-native-oh-tpl/react-native-transitiongroup ``` diff --git a/zh-cn/react-native-translucent-modal.md b/zh-cn/react-native-translucent-modal.md index 2aceb0dc..b5117b5c 100644 --- a/zh-cn/react-native-translucent-modal.md +++ b/zh-cn/react-native-translucent-modal.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-translucent-modal Releases](https://github.com/react-native-oh-library/react-native-translucent-modal/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-translucent-modal Releases](https://github.com/react-native-oh-library/react-native-translucent-modal/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-translucent-modal@file:# +npm install @react-native-oh-tpl/react-native-translucent-modal ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-translucent-modal@file:# +yarn add @react-native-oh-tpl/react-native-translucent-modal ``` diff --git a/zh-cn/react-native-tts.md b/zh-cn/react-native-tts.md index 2295efcb..c2bd9935 100644 --- a/zh-cn/react-native-tts.md +++ b/zh-cn/react-native-tts.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-tts Releases](https://github.com/react-native-oh-library/react-native-tts/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-tts Releases](https://github.com/react-native-oh-library/react-native-tts/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-tts@file:# +npm install @react-native-oh-tpl/react-native-tts ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-tts@file:# +yarn add @react-native-oh-tpl/react-native-tts ``` diff --git a/zh-cn/react-native-typography.md b/zh-cn/react-native-typography.md index 3e710d97..2203e197 100644 --- a/zh-cn/react-native-typography.md +++ b/zh-cn/react-native-typography.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-typography Releases](https://github.com/react-native-oh-library/react-native-typography/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-typography Releases](https://github.com/react-native-oh-library/react-native-typography/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-typography@file:# +npm install @react-native-oh-tpl/react-native-typography ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-typography@file:# +yarn add @react-native-oh-tpl/react-native-typography ``` diff --git a/zh-cn/react-native-udp.md b/zh-cn/react-native-udp.md index ade3443c..f1ad5559 100644 --- a/zh-cn/react-native-udp.md +++ b/zh-cn/react-native-udp.md @@ -18,22 +18,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-udp Releases](https://github.com/react-native-oh-library/react-native-udp/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-udp Releases](https://github.com/react-native-oh-library/react-native-udp/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-udp@file:# +npm install @react-native-oh-tpl/react-native-udp ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-udp@file:# +yarn add @react-native-oh-tpl/react-native-udp ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/react-native-ui-lib.md b/zh-cn/react-native-ui-lib.md index 490f1a8b..d597a96b 100644 --- a/zh-cn/react-native-ui-lib.md +++ b/zh-cn/react-native-ui-lib.md @@ -19,7 +19,7 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-ui-lib Releases](https://github.com/react-native-oh-library/react-native-ui-lib/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-ui-lib Releases](https://github.com/react-native-oh-library/react-native-ui-lib/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 本库 HarmonyOS 侧实现依赖@react-native-oh-tpl/react-native-reanimated和 @react-native-oh-tpl/react-native-gesture-handler的原生端代码,如已在 HarmonyOS 工程中引入过这些库,则无需再次引入,可跳过本章节步骤,直接使用。 @@ -34,20 +34,18 @@ 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-ui-lib@file:# +npm install @react-native-oh-tpl/react-native-ui-lib ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-ui-lib@file:# +yarn add @react-native-oh-tpl/react-native-ui-lib ``` diff --git a/zh-cn/react-native-unistyles.md b/zh-cn/react-native-unistyles.md index 36c101c3..aa2eaf2b 100644 --- a/zh-cn/react-native-unistyles.md +++ b/zh-cn/react-native-unistyles.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-unistyles Releases](https://github.com/react-native-oh-library/react-native-unistyles/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-unistyles Releases](https://github.com/react-native-oh-library/react-native-unistyles/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-unistyles@file:# +npm install @react-native-oh-tpl/react-native-unistyles ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-unistyles@file:# +yarn add @react-native-oh-tpl/react-native-unistyles ``` diff --git a/zh-cn/react-native-user-agent.md b/zh-cn/react-native-user-agent.md index f9329aaa..ad26c8e0 100644 --- a/zh-cn/react-native-user-agent.md +++ b/zh-cn/react-native-user-agent.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-user-agent Releases](https://github.com/react-native-oh-library/react-native-user-agent/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-user-agent Releases](https://github.com/react-native-oh-library/react-native-user-agent/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-user-agent@file:# +npm install @react-native-oh-tpl/react-native-user-agent ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-user-agent@file:# +yarn add @react-native-oh-tpl/react-native-user-agent ``` diff --git a/zh-cn/react-native-vector-drawable.md b/zh-cn/react-native-vector-drawable.md index a941b1db..bd254d0a 100644 --- a/zh-cn/react-native-vector-drawable.md +++ b/zh-cn/react-native-vector-drawable.md @@ -16,24 +16,24 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-vector-drawable Releases](https://github.com/react-native-oh-library/react-native-vector-drawable/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-vector-drawable Releases](https://github.com/react-native-oh-library/react-native-vector-drawable/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 + #### npm ```bash -npm install @react-native-oh-tpl/react-native-vector-drawable@file:# +npm install @react-native-oh-tpl/react-native-vector-drawable ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-vector-drawable@file:# +yarn add @react-native-oh-tpl/react-native-vector-drawable ``` diff --git a/zh-cn/react-native-version-number.md b/zh-cn/react-native-version-number.md index 9dbad354..48f8a620 100644 --- a/zh-cn/react-native-version-number.md +++ b/zh-cn/react-native-version-number.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-version-number Releases](https://github.com/react-native-oh-library/react-native-version-number/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-version-number Releases](https://github.com/react-native-oh-library/react-native-version-number/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-version-number@file:# +npm install @react-native-oh-tpl/react-native-version-number ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-version-number@file:# +yarn add @react-native-oh-tpl/react-native-version-number ``` diff --git a/zh-cn/react-native-video-cache.md b/zh-cn/react-native-video-cache.md index eddd1227..784a93b6 100644 --- a/zh-cn/react-native-video-cache.md +++ b/zh-cn/react-native-video-cache.md @@ -21,24 +21,24 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-video-cache Releases](https://github.com/react-native-oh-library/react-native-video-cache/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-native-video-cache Releases](https://github.com/react-native-oh-library/react-native-video-cache/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 + #### npm ```bash -npm install @react-native-oh-tpl/react-native-video-cache@file:# +npm install @react-native-oh-tpl/react-native-video-cache ``` #### yarn ```bash -yarn add @react-native-oh-tpl/react-native-video-cache@file:# +yarn add @react-native-oh-tpl/react-native-video-cache ``` diff --git a/zh-cn/react-native-video.md b/zh-cn/react-native-video.md index 595a5142..2792fb9f 100644 --- a/zh-cn/react-native-video.md +++ b/zh-cn/react-native-video.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-video Releases](https://github.com/react-native-oh-library/react-native-video/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-video Releases](https://github.com/react-native-oh-library/react-native-video/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-video@file:# +npm install @react-native-oh-tpl/react-native-video ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-video@file:# +yarn add @react-native-oh-tpl/react-native-video ``` diff --git a/zh-cn/react-native-view-overflow.md b/zh-cn/react-native-view-overflow.md index 6c0df0c0..98b27c73 100644 --- a/zh-cn/react-native-view-overflow.md +++ b/zh-cn/react-native-view-overflow.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-view-overflow Releases](https://github.com/react-native-oh-library/react-native-view-overflow/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-view-overflow Releases](https://github.com/react-native-oh-library/react-native-view-overflow/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-view-overflow@file:# +npm install @react-native-oh-tpl/react-native-view-overflow ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-view-overflow@file:# +yarn add @react-native-oh-tpl/react-native-view-overflow ``` diff --git a/zh-cn/react-native-view-pdf.md b/zh-cn/react-native-view-pdf.md index fb55afcc..b9d97e1f 100644 --- a/zh-cn/react-native-view-pdf.md +++ b/zh-cn/react-native-view-pdf.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-view-pdf Releases](https://github.com/react-native-oh-library/react-native-PDFView/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-view-pdf Releases](https://github.com/react-native-oh-library/react-native-PDFView/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-view-pdf@file:# +npm install @react-native-oh-tpl/react-native-view-pdf ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-view-pdf@file:# +yarn add @react-native-oh-tpl/react-native-view-pdf ``` diff --git a/zh-cn/react-native-view-shot.md b/zh-cn/react-native-view-shot.md index 222a9f8f..51cdd449 100644 --- a/zh-cn/react-native-view-shot.md +++ b/zh-cn/react-native-view-shot.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-view-shot Releases](https://github.com/react-native-oh-library/react-native-view-shot/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-view-shot Releases](https://github.com/react-native-oh-library/react-native-view-shot/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-view-shot@file:# +npm install @react-native-oh-tpl/react-native-view-shot ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-view-shot@file:# +yarn add @react-native-oh-tpl/react-native-view-shot ``` diff --git a/zh-cn/react-native-vision-camera.md b/zh-cn/react-native-vision-camera.md index c276124d..b3434a09 100644 --- a/zh-cn/react-native-vision-camera.md +++ b/zh-cn/react-native-vision-camera.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-vision-camera Releases](https://github.com/react-native-oh-library/react-native-vision-camera/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-vision-camera Releases](https://github.com/react-native-oh-library/react-native-vision-camera/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-vision-camera@file:# +npm install @react-native-oh-tpl/react-native-vision-camera ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-vision-camera@file:# +yarn add @react-native-oh-tpl/react-native-vision-camera ``` diff --git a/zh-cn/react-native-webview.md b/zh-cn/react-native-webview.md index 7be4b946..62bb4d0c 100644 --- a/zh-cn/react-native-webview.md +++ b/zh-cn/react-native-webview.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-webview Releases](https://github.com/react-native-oh-library/react-native-webview/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-webview Releases](https://github.com/react-native-oh-library/react-native-webview/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-webview@file:# +npm install @react-native-oh-tpl/react-native-webview ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-webview@file:# +yarn add @react-native-oh-tpl/react-native-webview ``` diff --git a/zh-cn/react-native-worklets-core.md b/zh-cn/react-native-worklets-core.md index 33d68ad9..ba753eae 100644 --- a/zh-cn/react-native-worklets-core.md +++ b/zh-cn/react-native-worklets-core.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-worklets-core Releases](https://github.com/react-native-oh-library/react-native-worklets-core/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-worklets-core Releases](https://github.com/react-native-oh-library/react-native-worklets-core/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm i @react-native-oh-tpl/react-native-worklets-core@file:# +npm i @react-native-oh-tpl/react-native-worklets-core ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-worklets-core@file:# +yarn add @react-native-oh-tpl/react-native-worklets-core ``` 在项目根目录下的 `babel.config.js` 中添加 `babel` 插件 diff --git a/zh-cn/react-native-zip-archive.md b/zh-cn/react-native-zip-archive.md index 407f4411..91e7f4b3 100644 --- a/zh-cn/react-native-zip-archive.md +++ b/zh-cn/react-native-zip-archive.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-zip-archive Releases](https://github.com/react-native-oh-library/react-native-zip-archive/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-zip-archive Releases](https://github.com/react-native-oh-library/react-native-zip-archive/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-zip-archive@file:# +npm install @react-native-oh-tpl/react-native-zip-archive ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-zip-archive@file:# +yarn add @react-native-oh-tpl/react-native-zip-archive ``` diff --git a/zh-cn/react-navigation-drawer.md b/zh-cn/react-navigation-drawer.md index 492e872d..77f7daee 100644 --- a/zh-cn/react-navigation-drawer.md +++ b/zh-cn/react-navigation-drawer.md @@ -16,26 +16,22 @@ ## 安装与使用 -> [!TIP] drawer的tgz包在react-navigation Releases。 - -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-navigation Releases](https://github.com/react-native-oh-library/react-navigation/releases),并下载drawer适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-navigation Releases](https://github.com/react-native-oh-library/react-navigation/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为tgz包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/drawer@file:# +npm install @react-native-oh-tpl/drawer ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/drawer@file:# +yarn add @react-native-oh-tpl/drawer ``` diff --git a/zh-cn/react-navigation-elements.md b/zh-cn/react-navigation-elements.md index 4dded92f..a9f705c4 100644 --- a/zh-cn/react-navigation-elements.md +++ b/zh-cn/react-navigation-elements.md @@ -17,24 +17,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/elements Releases](https://github.com/react-native-oh-library/react-navigation/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/elements Releases](https://github.com/react-native-oh-library/react-navigation/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/elements@file:# +npm install @react-native-oh-tpl/elements ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/elements@file:# +yarn add @react-native-oh-tpl/elements ``` diff --git a/zh-cn/react-navigation-native-stack.md b/zh-cn/react-navigation-native-stack.md index d14c574d..20ac1adb 100644 --- a/zh-cn/react-navigation-native-stack.md +++ b/zh-cn/react-navigation-native-stack.md @@ -16,26 +16,23 @@ ## 安装与使用 -> [!TIP] native-stack的tgz包在react-navigation Releases。 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-navigation Releases](https://github.com/react-native-oh-library/react-navigation/releases),并下载native-stack适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-navigation Releases](https://github.com/react-native-oh-library/react-navigation/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为tgz包的路径 - ### **npm** ```bash -npm install @react-native-oh-tpl/native-stack@file:# +npm install @react-native-oh-tpl/native-stack ``` ### **yarn** ```bash -yarn install @react-native-oh-tpl/native-stack@file:# +yarn install @react-native-oh-tpl/native-stack ``` diff --git a/zh-cn/react-navigation-stack.md b/zh-cn/react-navigation-stack.md index 6f500911..28648475 100644 --- a/zh-cn/react-navigation-stack.md +++ b/zh-cn/react-navigation-stack.md @@ -19,24 +19,21 @@ 进入到工程目录并输入以下命令: -> [!TIP] stack的tgz包在react-navigation Releases。 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-navigation Releases](https://github.com/react-native-oh-library/react-navigation/releases),并下载stack适用版本的 tgz 包。 - -> [!TIP] # 处替换为tgz包的路径 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-library/react-navigation Releases](https://github.com/react-native-oh-library/react-navigation/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 #### **npm** ```bash -npm install @react-native-oh-tpl/stack@file:# +npm install @react-native-oh-tpl/stack ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/stack@file:# +yarn add @react-native-oh-tpl/stack ``` diff --git a/zh-cn/realm-js.md b/zh-cn/realm-js.md index b0cf72c6..4503cb8a 100644 --- a/zh-cn/realm-js.md +++ b/zh-cn/realm-js.md @@ -19,24 +19,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/realm-js Releases](https://github.com/react-native-oh-library/realm-js/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/realm-js Releases](https://github.com/react-native-oh-library/realm-js/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/realm@file:# -npm install @react-native-oh-tpl/realm-react@file:# +npm install @react-native-oh-tpl/realm +npm install @react-native-oh-tpl/realm-react ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/realm@file:# -yarn add @react-native-oh-tpl/realm-react@file:# +yarn add @react-native-oh-tpl/realm +yarn add @react-native-oh-tpl/realm-react ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/remobile-react-native-toast.md b/zh-cn/remobile-react-native-toast.md index 88553926..f5e71db6 100644 --- a/zh-cn/remobile-react-native-toast.md +++ b/zh-cn/remobile-react-native-toast.md @@ -19,24 +19,22 @@ ## 安装与使用 请到三方库的 Releases -发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases),并下载适用版本的tgz包。 +发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-toast Releases](https://github.com/react-native-oh-library/react-native-toast/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/react-native-toast@file:# +npm install @react-native-oh-tpl/react-native-toast ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/react-native-toast@file:# +yarn add @react-native-oh-tpl/react-native-toast ``` diff --git a/zh-cn/rn-bugly.md b/zh-cn/rn-bugly.md index 6e2c7ebd..cf683d12 100644 --- a/zh-cn/rn-bugly.md +++ b/zh-cn/rn-bugly.md @@ -17,7 +17,7 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/rn-bugly Releases](https://github.com/react-native-oh-library/rn-bugly/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/rn-bugly Releases](https://github.com/react-native-oh-library/rn-bugly/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: @@ -26,13 +26,13 @@ #### **npm** ```bash -npm install @react-native-oh-tpl/rn-bugly@file:# +npm install @react-native-oh-tpl/rn-bugly ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/rn-bugly@file:# +yarn add @react-native-oh-tpl/rn-bugly ``` diff --git a/zh-cn/rn-emoji-keyboard.md b/zh-cn/rn-emoji-keyboard.md index 1067d4c4..0146eb36 100644 --- a/zh-cn/rn-emoji-keyboard.md +++ b/zh-cn/rn-emoji-keyboard.md @@ -16,24 +16,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/rn-emoji-keyboard Releases](https://github.com/react-native-oh-library/rn-emoji-keyboard/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/rn-emoji-keyboard Releases](https://github.com/react-native-oh-library/rn-emoji-keyboard/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/rn-emoji-keyboard@file:# +npm install @react-native-oh-tpl/rn-emoji-keyboard ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/rn-emoji-keyboard@file:# +yarn add @react-native-oh-tpl/rn-emoji-keyboard ``` diff --git a/zh-cn/rn-tourguide.md b/zh-cn/rn-tourguide.md index 0d9edd9a..4a1a5463 100644 --- a/zh-cn/rn-tourguide.md +++ b/zh-cn/rn-tourguide.md @@ -18,24 +18,22 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[https://github.com/react-native-oh-library/rn-tourguide Releases](https://github.com/react-native-oh-library/rn-tourguide/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[https://github.com/react-native-oh-library/rn-tourguide Releases](https://github.com/react-native-oh-library/rn-tourguide/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/rn-tourguide@file:# +npm install @react-native-oh-tpl/rn-tourguide ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/rn-tourguide@file:# +yarn add @react-native-oh-tpl/rn-tourguide ``` diff --git a/zh-cn/shopify-flash-list.md b/zh-cn/shopify-flash-list.md index 01158174..fb55e9ce 100644 --- a/zh-cn/shopify-flash-list.md +++ b/zh-cn/shopify-flash-list.md @@ -16,22 +16,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/flash-list Releases](https://github.com/react-native-oh-library/flash-list/releases),并下载适用版本的 tgz 包。 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/flash-list Releases](https://github.com/react-native-oh-library/flash-list/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: -> [!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/flash-list@file:# +npm install @react-native-oh-tpl/flash-list ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/flash-list@file:# +yarn add @react-native-oh-tpl/flash-list ``` 下面的代码展示了这个库的基本使用场景: diff --git a/zh-cn/tgz-usage.md b/zh-cn/tgz-usage.md new file mode 100644 index 00000000..3b8b118a --- /dev/null +++ b/zh-cn/tgz-usage.md @@ -0,0 +1,76 @@ +# RNOH 三方库 tgz 包使用说明 + +## 1. 方法一:本地安装 + +### 1.1 访问对应的三方库 Release 页面 + +- 查找所需版本。 +- 下载附件中的 tgz 包到本地。 +- 将 tgz 包放置在指定路径。 + +### 1.2 安装 + +- 执行以下命令: + + ```bash + npm install <三方库包名>@file: + ``` + + 示例: + + ```bash + npm install @react-native-oh-tpl/react-native-svg@file:react-native-oh-tpl-react-native-svg-15.0.0-0.5.8.tgz + ``` + +- 或者直接在 `package.json` 中指定路径: + + ```json + "dependencies": { + "<三方库包名>": "" + } + ``` + + 示例: + + ```json + "dependencies": { + "@react-native-oh-tpl/react-native-svg": "file:react-native-oh-tpl-react-native-svg-15.0.0-0.5.8.tgz" + } + ``` + +## 2. 方法二:在线安装 + +### 2.1 访问对应的三方库 Release 页面 + +- 查找所需版本。 +- 复制附件中 tgz 包的在线地址。 + +### 2.2 安装 + +- 执行以下命令: + + ```bash + npm install <三方库包名>@file: + ``` + + 示例: + + ```bash + npm install @react-native-oh-tpl/react-native-svg@https://github.com/react-native-oh-library/react-native-harmony-svg/releases/download/15.0.0-0.5.8/react-native-oh-tpl-react-native-svg-15.0.0-0.5.8.tgz + ``` + +- 或者直接在 `package.json` 中指定在线地址: + + ```json + "dependencies": { + "<三方库包名>": "" + } + ``` + + 示例: + + ```json + "dependencies": { + "@react-native-oh-tpl/react-native-svg": "https://github.com/react-native-oh-library/react-native-harmony-svg/releases/download/15.0.0-0.5.8/react-native-oh-tpl-react-native-svg-15.0.0-0.5.8.tgz" + } + ``` \ No newline at end of file diff --git a/zh-cn/victory-native-xl.md b/zh-cn/victory-native-xl.md index f5b93794..49abaf36 100644 --- a/zh-cn/victory-native-xl.md +++ b/zh-cn/victory-native-xl.md @@ -17,22 +17,20 @@ ## 安装与使用 -请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/victory-native-xl Releases](https://github.com/react-native-oh-library/victory-native-xl/releases),并下载适用版本的 tgz 包 +请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/victory-native-xl Releases](https://github.com/react-native-oh-library/victory-native-xl/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 进入到工程目录并输入以下命令: ->[!TIP] # 处替换为 tgz 包的路径 - #### **npm** ```bash -npm install @react-native-oh-tpl/victory-native-xl@file:# +npm install @react-native-oh-tpl/victory-native-xl ``` #### **yarn** ```bash -yarn add @react-native-oh-tpl/victory-native-xl@file:# +yarn add @react-native-oh-tpl/victory-native-xl ``` 下面的代码展示了这个库的基本使用场景: -- Gitee