mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 17:47:21 +08:00
Reviewed By: javache Differential Revision: D4947631 fbshipit-source-id: d7e497c44602eb6e38896a00edb61639ab2b8cd4
33 lines
702 B
Objective-C
33 lines
702 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import <React/RCTBridgeModule.h>
|
|
|
|
@interface UIExplorerTestModule : NSObject <RCTBridgeModule>
|
|
|
|
@end
|
|
|
|
@implementation UIExplorerTestModule
|
|
|
|
RCT_EXPORT_MODULE(UIExplorerTestModule)
|
|
|
|
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(echoString:(NSString *)input)
|
|
{
|
|
return input;
|
|
}
|
|
|
|
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(methodThatReturnsNil)
|
|
{
|
|
return nil;
|
|
}
|
|
|
|
@end
|