t3-code-android-nightly/apps/mobile/modules/t3-markdown-text/ios/T3MarkdownTextRun.h
Chris Deeming 4fed6cfb35
feat: add inline file previews and attachment chips across surfaces (#11265)
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
2026-09-11 23:58:12 -07:00

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 */