first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
#pragma once
#import "RNSReactBaseView.h"
#import "RNSStackScreenComponentEventEmitter.h"
NS_ASSUME_NONNULL_BEGIN
@class RNSStackScreenController;
@class RNSStackHostComponentView;
typedef NS_ENUM(int, RNSStackScreenActivityMode) {
RNSStackScreenActivityModeDetached = 0,
RNSStackScreenActivityModeAttached = 1,
};
@interface RNSStackScreenComponentView : RNSReactBaseView
@property (nonatomic, weak, readwrite, nullable) RNSStackHostComponentView *stackHost;
@property (nonatomic, strong, readonly, nonnull) RNSStackScreenController *controller;
@end
#pragma mark - Props
@interface RNSStackScreenComponentView ()
@property (nonatomic, strong, readonly, nullable) NSString *screenKey;
@property (nonatomic, readonly) RNSStackScreenActivityMode activityMode;
@end
#pragma mark - Events
@interface RNSStackScreenComponentView ()
/**
* Use returned object to emit appropriate React Events to Element Tree.
*/
- (nonnull RNSStackScreenComponentEventEmitter *)reactEventEmitter;
@end
NS_ASSUME_NONNULL_END