transfi-ramp-react-native-sdk
v0.1.8
Published
transfi react native plugin
Downloads
2,253
Maintainers
Readme
transfi-ramp-react-native-sdk
react native webview sdk
Installation
npm install transfi-ramp-react-native-sdk
Usage
import { TransfiRampReactNativeSdkView } from "transfi-ramp-react-native-sdk";
// ...
<TransfiRampReactNativeSdkView
styles={styles.webview}
source={{ uri: 'https://buy.transfi.com/?apiKey=[YOUR_API_KEY]' }}
javaScriptEnabled={true}
messagingEnabled={true}
domStorageEnabled={true}
onMessage={(event) => {
console.log('event', event?.nativeEvent?.data);
}}
/>
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library