Last active
April 7, 2023 02:08
-
-
Save katsimoto/eb5e319e5f73fb48888ab5b499dd42a5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import WebView from 'react-native-webview'; | |
import React from 'react'; | |
export const Tips = () => { | |
const name = 'John Doe'; | |
const phoneNumber = '+72025550139'; | |
const amount = 100; | |
const uri = `https://pay.cloudtips.ru/a/borodach?name=${name}&sales=390&phone=${phoneNumber}&hidecomment=true${amount ? `&amount=${amount}` : ''}` | |
return ( | |
<WebView source={{ uri }} /> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment