File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ import { NativeModules } from 'react-native' ;
1
2
import Paystack from './paystack' ;
2
3
import * as paystackProps from './types'
3
4
4
5
export {
5
6
Paystack ,
6
7
paystackProps
7
8
}
9
+
10
+ export default NativeModules . ReactNativePaystackWebviewModule
Original file line number Diff line number Diff line change 3
3
"version" : " 4.1.1-development" ,
4
4
"description" : " This package allows you to accept payment in your react native project using paystack " ,
5
5
"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 " ,
8
8
"author" :
" Oluwatobi Shokunbi <[email protected] >" ,
9
9
"license" : " MIT" ,
10
10
"scripts" : {
You can’t perform that action at this time.
0 commit comments