Skip to content

Commit c9b9d85

Browse files
committed
fix: import fix
1 parent a6009f2 commit c9b9d85

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

development/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
import { NativeModules } from 'react-native';
12
import Paystack from './paystack';
23
import * as paystackProps from './types'
34

45
export {
56
Paystack,
67
paystackProps
78
}
9+
10+
export default NativeModules.ReactNativePaystackWebviewModule

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "4.1.1-development",
44
"description": "This package allows you to accept payment in your react native project using paystack ",
55
"homepage": "https://github.com/just1and0/React-Native-Paystack-WebView#readme",
6-
"main": "./production/lib/index.js",
7-
"types": "./production/lib/types/index.js",
6+
"main": "production/lib/index.js",
7+
"types": "production/lib/index.d.ts",
88
"author": "Oluwatobi Shokunbi <[email protected]>",
99
"license": "MIT",
1010
"scripts": {

0 commit comments

Comments
 (0)