15 lines
416 B
Mathematica
15 lines
416 B
Mathematica
|
#import <React/RCTBridgeModule.h>
|
||
|
|
||
|
@interface RCT_EXTERN_MODULE(ReactNative, NSObject)
|
||
|
|
||
|
RCT_EXTERN_METHOD(multiply:(float)a withB:(float)b
|
||
|
withResolver:(RCTPromiseResolveBlock)resolve
|
||
|
withRejecter:(RCTPromiseRejectBlock)reject)
|
||
|
|
||
|
|
||
|
RCT_EXTERN_METHOD(defaultPubsubTopic:
|
||
|
(RCTPromiseResolveBlock)resolve
|
||
|
withRejecter:(RCTPromiseRejectBlock)reject)
|
||
|
|
||
|
@end
|