25 lines
562 B
Objective-C
25 lines
562 B
Objective-C
// This guard prevent this file to be compiled in the old architecture.
|
|
#ifdef RCT_NEW_ARCH_ENABLED
|
|
#import <React/RCTViewComponentView.h>
|
|
#import <React/RCTComponent.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#ifndef T3MarkdownTextRunNativeComponent_h
|
|
#define T3MarkdownTextRunNativeComponent_h
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface T3MarkdownTextRun : RCTViewComponentView
|
|
|
|
@property (nonatomic, copy, nullable) NSString *text;
|
|
|
|
- (void)onPress;
|
|
- (void)onLongPress;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif /* UitextviewViewNativeComponent_h */
|
|
#endif /* RCT_NEW_ARCH_ENABLED */
|