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

T3MarkdownTextRun.h

27 lines678 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​
16- (nullable UIMenu *)contextMenu;
17- (BOOL)hasContextMenu;
18- (void)onContextMenuAction:(NSString *)actionIdentifier;
19- (void)onPress;
20- (void)onLongPress;
21​
22@end
23​
24NS_ASSUME_NONNULL_END
25​
26#endif /* UitextviewViewNativeComponent_h */
27#endif /* RCT_NEW_ARCH_ENABLED */