rn-bootstrap-buttons
rn-bootstrap-buttons copied to clipboard
how to modify the height of button ?
I try to custom my button with following:
< Button buttonType="info" buttonStyle={buttonStyle} onPress={ ...} >Sign In < /Button>
buttonStyle = { // override height: 40, // original is 48 paddingTop: 12, paddingBottom: 12 }
but it is fail, like

the text inside the button is not vertical center!
i got the answer
just use textStyle attr.
eg: < Button buttonType="info" buttonStyle={buttonStyle} textStyle={{ height:xxx, paddingTop: xxx, paddingBottom: xxx }} onPress={ ...} >Sign In < /Button>