Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

T3MarkdownTextRun.h

28 lines737 Bytes

1// This guard prevent this file to be compiled in the old architecture.
2#ifdef RCT_NEW_ARCH_ENABLED
3#import <React/RCTViewComponentView.h>
4#import <React/RCTComponent.h>
5#import <UIKit/UIKit.h>
6​
7#ifndef T3MarkdownTextRunNativeComponent_h
8#define T3MarkdownTextRunNativeComponent_h
9​
10NS_ASSUME_NONNULL_BEGIN
11​
12@interface T3MarkdownTextRun : RCTViewComponentView
13​
14@property (nonatomic, copy, nullable) NSString *text;
15@property (nonatomic, assign) BOOL contextChipInteractive;
16​
17- (nullable UIMenu *)contextMenu;
18- (BOOL)hasContextMenu;
19- (void)onContextMenuAction:(NSString *)actionIdentifier;
20- (void)onPress;
21- (void)onLongPress;
22​
23@end
24​
25NS_ASSUME_NONNULL_END
26​
27#endif /* UitextviewViewNativeComponent_h */
28#endif /* RCT_NEW_ARCH_ENABLED */