mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-11 04:41:17 +02:00
28 lines
737 B
Objective-C
28 lines
737 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;
|
|
@property (nonatomic, assign) BOOL contextChipInteractive;
|
|
|
|
- (nullable UIMenu *)contextMenu;
|
|
- (BOOL)hasContextMenu;
|
|
- (void)onContextMenuAction:(NSString *)actionIdentifier;
|
|
- (void)onPress;
|
|
- (void)onLongPress;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif /* UitextviewViewNativeComponent_h */
|
|
#endif /* RCT_NEW_ARCH_ENABLED */
|