Skip to content

Commit 4d58574

Browse files
committed
fix: fix import
1 parent bd7779a commit 4d58574

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

development/index.tsx

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
import { NativeModules } from 'react-native'
2-
import { Paystack } from './paystack';
1+
import * as Paystack from './paystack';
32
import * as paystackProps from './types'
43

5-
export {
4+
export default {
65
Paystack,
76
paystackProps
87
}
9-
10-
export default NativeModules.ReactNativePaystackWebviewModule
11-

0 commit comments

Comments
 (0)