0.1.0 • Published 1 year ago

@nandhirajan-tfi/transfi-ramp-react-native-sdk v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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
      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

transfi-ramp-react-native-sdk