PlatformPayButton Component. Display the platform-specific native wallet pay button: Apple Pay on iOS, and Google Pay on Android.
Props
JSX.Element
<PlatformPayButton onPress={pay} type={PlatformPay.ButtonType.Subscribe} appearance={PlatformPay.ButtonStyle.WhiteOutline} borderRadius={4} disabled={!isApplePaySupported} style={styles.payButton} /> Copy
<PlatformPayButton onPress={pay} type={PlatformPay.ButtonType.Subscribe} appearance={PlatformPay.ButtonStyle.WhiteOutline} borderRadius={4} disabled={!isApplePaySupported} style={styles.payButton} />
PlatformPayButton Component. Display the platform-specific native wallet pay button: Apple Pay on iOS, and Google Pay on Android.