mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8c8f7a510f
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37143 This change add an example on how to use events with arrays in the New Architecture in RNTester. ## Changelog: [Internal] - Add Examples on RNTester on how to send events with arrays from Native to JS Reviewed By: cortinico Differential Revision: D45357873 fbshipit-source-id: 812521aad070181759c0a1c76b5e8c628166229c
23 lines
538 B
Objective-C
23 lines
538 B
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <React/RCTComponent.h>
|
|
#import <React/RCTViewComponentView.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface RNTMyNativeViewComponentView : RCTViewComponentView
|
|
|
|
@property (nonatomic, copy) RCTBubblingEventBlock onIntArrayChanged;
|
|
|
|
- (UIColor *)UIColorFromHexString:(const std::string)hexString;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|