Skip to content

Commit

Permalink
Remove RCTHandledKeyboardEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Jul 8, 2023
1 parent b394680 commit f1454d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
14 changes: 0 additions & 14 deletions React/Views/RCTViewKeyboardEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,6 @@

#if TARGET_OS_OSX // [macOS

@interface RCTHandledKeyboardEvent : NSObject

@property (nonatomic, copy) NSString *key;
@property (nonatomic, assign) BOOL capsLockKey;
@property (nonatomic, assign) BOOL shiftKey;
@property (nonatomic, assign) BOOL ctrlKey;
@property (nonatomic, assign) BOOL altKey;
@property (nonatomic, assign) BOOL metaKey;
@property (nonatomic, assign) BOOL numericPadKey;
@property (nonatomic, assign) BOOL helpKey;
@property (nonatomic, assign) BOOL functionKey;

@end

@interface RCTViewKeyboardEvent : RCTComponentEvent

+ (instancetype)keyEventFromEvent:(NSEvent *)event reactTag:(NSNumber *)reactTag;
Expand Down
3 changes: 0 additions & 3 deletions React/Views/RCTViewKeyboardEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@

#if TARGET_OS_OSX

@implementation RCTHandledKeyboardEvent
@end

@implementation RCTViewKeyboardEvent

+ (NSString *)keyFromEvent:(NSEvent *)event
Expand Down

0 comments on commit f1454d6

Please sign in to comment.