From e5978c3230ce28b0adc28d426cdf4aba58ae2840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E4=BC=9Fx?= Date: Wed, 3 Dec 2025 13:59:00 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=A1=A5=E5=85=85react-native-material?= =?UTF-8?q?-ui=E4=B8=AD=E8=8B=B1=E6=96=87=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 任伟x --- en/react-native-material-ui.md | 3 +++ zh-cn/react-native-material-ui.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/en/react-native-material-ui.md b/en/react-native-material-ui.md index 51ef812ab..338c2ca87 100644 --- a/en/react-native-material-ui.md +++ b/en/react-native-material-ui.md @@ -257,6 +257,7 @@ Validated environments: | icon | When the icon is set, the content will be element | PropTypes.string,
{name:string,color,size} | no | iOS/Android | yes | | size | Just sugar for style={{ container: { width: size, height: size, borderRadius: size / 2 }}} | PropTypes.number | no | iOS/Android | yes | | stroke | Stroke on Badge | PropTypes.number | no | iOS/Android | yes | +| style | You can override any style for this Badge | PropTypes.array | no | iOS/Android | yes | ### Icon @@ -278,6 +279,8 @@ Validated environments: | size | Size of icon (default is 24 - see spacing in palette) | PropTypes.number | no | iOS/Android | yes | | name | Name of icon to show | PropTypes.string.isRequired | yes | iOS/Android | yes | | children | It'll be used instead of icon (see props name) if exists | PropTypes.element | no | iOS/Android | yes | +| onPress | Called when IconToggle is pressed. | PropTypes.func | no | iOS/Android | yes | +| style | You can override any style for this IconToggle | PropTypes.array | no | iOS/Android | yes | ### BottomNavigation diff --git a/zh-cn/react-native-material-ui.md b/zh-cn/react-native-material-ui.md index 01a4bddac..9411d00bb 100644 --- a/zh-cn/react-native-material-ui.md +++ b/zh-cn/react-native-material-ui.md @@ -259,6 +259,7 @@ struct Index { | icon | When the icon is set, the content will be element | PropTypes.string,
{name:string,color,size} | no | iOS/Android | yes | | size | Just sugar for style={{ container: { width: size, height: size, borderRadius: size / 2 }}} | PropTypes.number | no | iOS/Android | yes | | stroke | Stroke on Badge | PropTypes.number | no | iOS/Android | yes | +| style | You can override any style for this Badge | PropTypes.array | no | iOS/Android | yes | ### Icon @@ -280,6 +281,8 @@ struct Index { | size | Size of icon (default is 24 - see spacing in palette) | PropTypes.number | no | iOS/Android | yes | | name | Name of icon to show | PropTypes.string.isRequired | yes | iOS/Android | yes | | children | It'll be used instead of icon (see props name) if exists | PropTypes.element | no | iOS/Android | yes | +| onPress | Called when IconToggle is pressed. | PropTypes.func | no | iOS/Android | yes | +| style | You can override any style for this IconToggle | PropTypes.array | no | iOS/Android | yes | ### BottomNavigation -- Gitee