mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Initial commit
This commit is contained in:
20
ReactKit/Base/RCTRootView.h
Normal file
20
ReactKit/Base/RCTRootView.h
Normal file
@@ -0,0 +1,20 @@
|
||||
// Copyright 2004-present Facebook. All Rights Reserved.
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@protocol RCTJavaScriptExecutor;
|
||||
|
||||
@interface RCTRootView : UIView
|
||||
|
||||
@property (nonatomic, strong) NSURL *scriptURL;
|
||||
@property (nonatomic, copy) NSString *moduleName;
|
||||
@property (nonatomic, copy) NSDictionary *initialProperties;
|
||||
@property (nonatomic, strong) id<RCTJavaScriptExecutor> executor;
|
||||
|
||||
/**
|
||||
* Reload this root view, or all root views, respectively.
|
||||
*/
|
||||
- (void)reload;
|
||||
+ (void)reloadAll;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user