mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Upgrade sample to the new macros
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
|
||||
@implementation Sample
|
||||
|
||||
- (void)test
|
||||
RCT_EXPORT_MODULE()
|
||||
|
||||
RCT_EXPORT_METHOD(test)
|
||||
{
|
||||
RCT_EXPORT();
|
||||
// Your implementation here
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user