We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6009f2 commit c9b9d85Copy full SHA for c9b9d85
2 files changed
development/index.ts
@@ -1,7 +1,10 @@
1
+import { NativeModules } from 'react-native';
2
import Paystack from './paystack';
3
import * as paystackProps from './types'
4
5
export {
6
Paystack,
7
paystackProps
8
}
9
+
10
+export default NativeModules.ReactNativePaystackWebviewModule
package.json
@@ -3,8 +3,8 @@
"version": "4.1.1-development",
"description": "This package allows you to accept payment in your react native project using paystack ",
"homepage": "https://github.com/just1and0/React-Native-Paystack-WebView#readme",
- "main": "./production/lib/index.js",
- "types": "./production/lib/types/index.js",
+ "main": "production/lib/index.js",
+ "types": "production/lib/index.d.ts",
"author": "Oluwatobi Shokunbi <ayoshokz@gmail.com>",
"license": "MIT",
"scripts": {
0 commit comments