diff --git a/en/react-native-material-ui.md b/en/react-native-material-ui.md index 51ef812ab94c5055c20d0419db73695389dd8b80..338c2ca87c3105e51b224fbda3972a6775f3a61b 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 01a4bddac6680c162148bb791c52720038a60961..9411d00bbf5e0f01a3a547d84042dcd2889c3e0a 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