From f8498f11dc690d92abe9e1f96dcd4e7444d5fc71 Mon Sep 17 00:00:00 2001 From: Adam Gleitman Date: Thu, 13 Jun 2024 16:57:55 -0700 Subject: [PATCH] Add focus and responder events --- packages/react-native/React/Base/RCTUIKit.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/react-native/React/Base/RCTUIKit.h b/packages/react-native/React/Base/RCTUIKit.h index 289fed8f0f17c1..aee0d37d1ab08f 100644 --- a/packages/react-native/React/Base/RCTUIKit.h +++ b/packages/react-native/React/Base/RCTUIKit.h @@ -435,6 +435,17 @@ CGPathRef UIBezierPathCreateCGPathRef(UIBezierPath *path); @property (nonatomic, copy) RCTDirectEventBlock onDragLeave; @property (nonatomic, copy) RCTDirectEventBlock onDrop; +// Focus events +@property (nonatomic, copy) RCTBubblingEventBlock onBlur; +@property (nonatomic, copy) RCTBubblingEventBlock onFocus; + +@property (nonatomic, copy) RCTBubblingEventBlock onResponderGrant; +@property (nonatomic, copy) RCTBubblingEventBlock onResponderMove; +@property (nonatomic, copy) RCTBubblingEventBlock onResponderRelease; +@property (nonatomic, copy) RCTBubblingEventBlock onResponderTerminate; +@property (nonatomic, copy) RCTBubblingEventBlock onResponderTerminationRequest; +@property (nonatomic, copy) RCTBubblingEventBlock onStartShouldSetResponder; + @end // UIScrollView