From 8ac330d8cf3ca972d840b7013fb3b2e85692cde5 Mon Sep 17 00:00:00 2001 From: lvwang2002 Date: Thu, 28 Mar 2024 18:51:56 +0800 Subject: [PATCH] =?UTF-8?q?feature():=E4=BF=AE=E6=94=B9=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 33b987f..49a50be 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,4 +1,3 @@ -import { NativeModules } from 'react-native'; - -const RNMethodModule = NativeModules.RNMethodModule +import RNMethodModule,{DYGlucoseDriver} from './RNMethodModule.js'; +export {DYGlucoseDriver} export default RNMethodModule;