We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c3fc48 commit 6be3db1Copy full SHA for 6be3db1
src/Send.js
@@ -25,7 +25,15 @@ export default class Send extends React.Component {
25
}}
26
accessibilityTraits="button"
27
>
28
- <Text style={[styles.text, this.props.textStyle]}>{this.props.label}</Text>
+ {this.props.children ?
29
+ <View>
30
+ {this.props.children}
31
+ </View>
32
+ :
33
34
+ <Text style={[styles.text, this.props.textStyle]}>{this.props.label}</Text>
35
36
+ }
37
</TouchableOpacity>
38
);
39
}
0 commit comments