我在本机反应方面相对较新。
我可以像这里一样轻松地显示按钮(带有阴影等)。
<Button
mode="contained"
color={'#f08e25'}
contentStyle={{ height: 44 }}
onPress={this.onPressSubmit}
theme={theme} >SUBMIT </Button>
我也指的是这个文件。
https://callstack.github.io/react-native-paper/button.html#contentStyle
问题是如果模式为“包含”,我无法更改文本颜色。我尝试了 contentStyle 或主题,但它不起作用。如果模式为“包含”,我该如何更改文本颜色?