Closed pranay-jain-invimatic closed 2 months ago
<AppleButton buttonStyle={AppleButton.Style.BLACK} buttonType={AppleButton.Type.CONTINUE} style={{ width: width * 0.8, height: 45, borderRadius: 22, marginTop: 10, borderWidth: StyleSheet.hairlineWidth }} textStyle={{ color: colors.white, fontSize: 19, }} leftView={ <Image source={require('../../../assets/apple_icon.png')} style={{ width: 20, height: 20, marginRight: 10, marginTop: 3 }} /> } onPress={() => { console.log("Button Tapped") }} />
I don't believe that is passed through, I believe you want cornerRadius
https://github.com/invertase/react-native-apple-authentication/blob/13c71505e2e6f3101ba6059bdf36b03c05162298/ios/RNAppleAuthentication/RNAppleAuthButtonViewManager.m#L61
Thanks @mikehardy cornerRadius works
<AppleButton buttonStyle={AppleButton.Style.BLACK} buttonType={AppleButton.Type.CONTINUE} style={{ width: width * 0.8, height: 45, borderRadius: 22, marginTop: 10, borderWidth: StyleSheet.hairlineWidth }} textStyle={{ color: colors.white, fontSize: 19, }} leftView={ <Image source={require('../../../assets/apple_icon.png')} style={{ width: 20, height: 20, marginRight: 10, marginTop: 3 }} />
} onPress={() => { console.log("Button Tapped") }} />