diff --git a/en/react-native-doc-viewer.md b/en/react-native-doc-viewer.md index b81d58c35ea9d8f21a79445e6b83ad59fb544d85..2b49f368c7a8666318e195588bed0ef4796cbbdd 100644 --- a/en/react-native-doc-viewer.md +++ b/en/react-native-doc-viewer.md @@ -48,6 +48,8 @@ The following code shows the basic use scenario of the repository: > [!WARNING] The name of the imported repository remains unchanged. +> [!TIP] This example relies on the @react-native-ohos/react-native-fs library and is introduced with reference to [@react-native-ohos/react-native-fs](react-native-fs.md). + ```js import React, { Component } from 'react'; import { diff --git a/zh-cn/react-native-doc-viewer.md b/zh-cn/react-native-doc-viewer.md index 2b05147153f3b89bc5663ce6c3d9855dcf143425..2032e9dfb2883724d40a854dddaa002956c507d3 100644 --- a/zh-cn/react-native-doc-viewer.md +++ b/zh-cn/react-native-doc-viewer.md @@ -48,6 +48,8 @@ yarn add @react-native-ohos/react-native-doc-viewer > [!WARNING] 使用时 import 的库名不变。 +> [!TIP] 本示例依赖@react-native-ohos/react-native-fs 库,参照[@react-native-ohos/react-native-fs](react-native-fs.md)进行引入。 + ```js import React, { Component } from 'react'; import {