Open ssomnoremac opened 8 years ago
@ssomnoremac style seems to be overriding. I use it like this:
style={[MKButton.accentColoredButton().style, styles.button]}
wherestyles.button
is your style.
@ssomnoremac did @Taakn's solution work for you?
Full button can look like this
<MKButton
{...MKButton.coloredButton().toProps()}
backgroundColor={MKColor.Teal}
onPress={() => {this.readBook(book);}} >
<Text pointerEvents="none"
style={{color: 'white', fontWeight: 'bold',}}>
READ (toProps)
</Text>
</MKButton>
Many examples can be found here - https://github.com/xinthink/react-native-material-kit/issues/3
Is this how a button is supposed to look on Android? Then -> why?