From 682a802961faf0366488992b285e9f8825a71719 Mon Sep 17 00:00:00 2001 From: chenwenhui133 <2984202073@qq.com> Date: Fri, 13 Jun 2025 18:45:28 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#ICF2MI]=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9react-native-paper=E5=BA=93=E5=B1=9E=E6=80=A7=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-paper.md | 24 ++++++++++++------------ zh-cn/react-native-paper.md | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/en/react-native-paper.md b/en/react-native-paper.md index 868b2877..18c86bf3 100644 --- a/en/react-native-paper.md +++ b/en/react-native-paper.md @@ -332,22 +332,22 @@ View details[Paper](https://callstack.github.io/react-native-paper/docs/componen **ActivityIndicator**:Activity indicator is used to present progress of some activity in the app. It can be used as a drop-in for the ActivityIndicator shipped with React Native | Name | Description | Type | Required | Platform | HarmonyOS Support | | :-----: | :---------: | :-------------: | -------- | -------- | ----------------- | -| animating | Whether to show the indicator or hide it | boolean | Yes | All | Yes | -| color | The color of the spinner | string | Yes | All | Yes | -| size | Size of the indicator | small \| large \| number | No | All | Yes | -| hidesWhenStopped | Whether the indicator should hide when not animating | boolean | No | All | Yes | -| theme | theme | ThemeProp | Yes | All | Yes | -| style | style | Animated.WithAnimatedValue> | Yes | All | Yes | +| animating | Whether to show the indicator or hide it | boolean | NO | All | Yes | +| color | The color of the spinner | string | NO | All | Yes | +| size | Size of the indicator | small \| large \| number | NO | All | Yes | +| hidesWhenStopped | Whether the indicator should hide when not animating | boolean | NO | All | Yes | +| theme | theme | ThemeProp | NO | All | Yes | +| style | style | Animated.WithAnimatedValue> | NO | All | Yes | **Appbar**:A component to display action items in a bar. It can be placed at the top or bottom | Name | Description | Type | Required | Platform | HarmonyOS Support | | :-----: | :---------: | :-------------: | -------- | -------- | ----------------- | -| children | Content of the Appbar | React.ReactNode | Yes | All | Yes | -| mode | Mode of the Appbar. | small \| medium \| large \| center-aligned | Yes | All | Yes | -| elevated | Whether Appbar background should have the elevation along with primary color pigment. | boolean | No | All | Yes | -| safeAreaInsets | Safe area insets for the Appbar | { bottom?: number; top?: number; left?: number; right?: number; } | No | All | Yes | -| theme | theme | ThemeProp | Yes | All | Yes | -| style | style | Animated.WithAnimatedValue> | Yes | All | Yes | +| children | Content of the Appbar | React.ReactNode | NO | All | Yes | +| mode | Mode of the Appbar. | small \| medium \| large \| center-aligned | NO | All | Yes | +| elevated | Whether Appbar background should have the elevation along with primary color pigment. | boolean | NO | All | Yes | +| safeAreaInsets | Safe area insets for the Appbar | { bottom?: number; top?: number; left?: number; right?: number; } | NO | All | Yes | +| theme | theme | ThemeProp | NO | All | Yes | +| style | style | Animated.WithAnimatedValue> | NO | All | Yes | **Appbar.Action**:A component used to display an action item in the appbar. diff --git a/zh-cn/react-native-paper.md b/zh-cn/react-native-paper.md index 9bf20bc3..1c0857a8 100644 --- a/zh-cn/react-native-paper.md +++ b/zh-cn/react-native-paper.md @@ -331,22 +331,22 @@ export default function App() { **ActivityIndicator**:Activity indicator is used to present progress of some activity in the app. It can be used as a drop-in for the ActivityIndicator shipped with React Native | Name | Description | Type | Required | Platform | HarmonyOS Support | | :-----: | :---------: | :-------------: | -------- | -------- | ----------------- | -| animating | Whether to show the indicator or hide it | boolean | Yes | All | Yes | -| color | The color of the spinner | string | Yes | All | Yes | -| size | Size of the indicator | small \| large \| number | No | All | Yes | -| hidesWhenStopped | Whether the indicator should hide when not animating | boolean | No | All | Yes | -| theme | theme | ThemeProp | Yes | All | Yes | -| style | style | Animated.WithAnimatedValue> | Yes | All | Yes | +| animating | Whether to show the indicator or hide it | boolean | NO | All | Yes | +| color | The color of the spinner | string | NO | All | Yes | +| size | Size of the indicator | small \| large \| number | NO | All | Yes | +| hidesWhenStopped | Whether the indicator should hide when not animating | boolean | NO | All | Yes | +| theme | theme | ThemeProp | NO | All | Yes | +| style | style | Animated.WithAnimatedValue> | NO | All | Yes | **Appbar**:A component to display action items in a bar. It can be placed at the top or bottom | Name | Description | Type | Required | Platform | HarmonyOS Support | | :-----: | :---------: | :-------------: | -------- | -------- | ----------------- | -| children | Content of the Appbar | React.ReactNode | Yes | All | Yes | -| mode | Mode of the Appbar. | small \| medium \| large \| center-aligned | Yes | All | Yes | -| elevated | Whether Appbar background should have the elevation along with primary color pigment. | boolean | No | All | Yes | -| safeAreaInsets | Safe area insets for the Appbar | { bottom?: number; top?: number; left?: number; right?: number; } | No | All | Yes | -| theme | theme | ThemeProp | Yes | All | Yes | -| style | style | Animated.WithAnimatedValue> | Yes | All | Yes | +| children | Content of the Appbar | React.ReactNode | NO | All | Yes | +| mode | Mode of the Appbar. | small \| medium \| large \| center-aligned | NO | All | Yes | +| elevated | Whether Appbar background should have the elevation along with primary color pigment. | boolean | NO | All | Yes | +| safeAreaInsets | Safe area insets for the Appbar | { bottom?: number; top?: number; left?: number; right?: number; } | NO | All | Yes | +| theme | theme | ThemeProp | NO | All | Yes | +| style | style | Animated.WithAnimatedValue> | NO | All | Yes | **Appbar.Action**:A component used to display an action item in the appbar. -- Gitee