From 4d5857496f06ca09083aa554d39e31b17b7fc63d Mon Sep 17 00:00:00 2001 From: Oluwatobi Shokunbi Date: Sun, 12 Jan 2025 19:03:51 +0000 Subject: [PATCH] fix: fix import --- development/index.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/development/index.tsx b/development/index.tsx index 8c873db..e55c104 100644 --- a/development/index.tsx +++ b/development/index.tsx @@ -1,11 +1,7 @@ -import { NativeModules } from 'react-native' -import { Paystack } from './paystack'; +import * as Paystack from './paystack'; import * as paystackProps from './types' -export { +export default { Paystack, paystackProps } - -export default NativeModules.ReactNativePaystackWebviewModule -