Skip to content

Commit f1454d6

Browse files
committed
Remove RCTHandledKeyboardEvent
1 parent b394680 commit f1454d6

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

React/Views/RCTViewKeyboardEvent.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,6 @@
88

99
#if TARGET_OS_OSX // [macOS
1010

11-
@interface RCTHandledKeyboardEvent : NSObject
12-
13-
@property (nonatomic, copy) NSString *key;
14-
@property (nonatomic, assign) BOOL capsLockKey;
15-
@property (nonatomic, assign) BOOL shiftKey;
16-
@property (nonatomic, assign) BOOL ctrlKey;
17-
@property (nonatomic, assign) BOOL altKey;
18-
@property (nonatomic, assign) BOOL metaKey;
19-
@property (nonatomic, assign) BOOL numericPadKey;
20-
@property (nonatomic, assign) BOOL helpKey;
21-
@property (nonatomic, assign) BOOL functionKey;
22-
23-
@end
24-
2511
@interface RCTViewKeyboardEvent : RCTComponentEvent
2612

2713
+ (instancetype)keyEventFromEvent:(NSEvent *)event reactTag:(NSNumber *)reactTag;

React/Views/RCTViewKeyboardEvent.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
#if TARGET_OS_OSX
1515

16-
@implementation RCTHandledKeyboardEvent
17-
@end
18-
1916
@implementation RCTViewKeyboardEvent
2017

2118
+ (NSString *)keyFromEvent:(NSEvent *)event

0 commit comments

Comments
 (0)