diff --git a/zh-cn/react-native-community-progress-bar-android.md b/zh-cn/react-native-community-progress-bar-android.md index aa005743c9aa0ef9b094164ca83c70c79d92268f..99c12d05755c85546d6c93958d2eb4218cbfeabe 100644 --- a/zh-cn/react-native-community-progress-bar-android.md +++ b/zh-cn/react-native-community-progress-bar-android.md @@ -43,10 +43,15 @@ npm install @react-native-oh-tpl/progress-bar-android@file:# > [!WARNING] 使用时 import 的库名不变。 ```js - import {ProgressBar} from '@react-native-community/progress-bar-android'; - - - +import { ProgressBar } from '@react-native-community/progress-bar-android'; +export default function ProgressBarExample() { + return ( + <> + + + + ) +} ``` ## Link