TypeScript
#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTComponent.h>
#import <React/RCTViewComponentView.h>
#import <UIKit/UIKit.h>
#ifndef T3SourceTextRunNativeComponent_h
#define T3SourceTextRunNativeComponent_h
NS_ASSUME_NONNULL_BEGIN
@interface T3SourceTextRun : RCTViewComponentView
@property(nonatomic, copy, nullable) NSString *text;
@end
NS_ASSUME_NONNULL_END
#endif /* UitextviewViewNativeComponent_h */
#endif /* RCT_NEW_ARCH_ENABLED */