mirror of
https://github.com/status-im/react-native.git
synced 2025-01-29 10:45:04 +00:00
7cf7028092
Summary: Quite trivial but still very cool recycling of native view instances is finnally here, in React Native. � Reviewed By: mdvacca Differential Revision: D7804085 fbshipit-source-id: 644804da3185f9ed3fdea42d4d76c93e86934448
29 lines
639 B
Objective-C
29 lines
639 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTComponentViewProtocol.h>
|
|
#import <React/UIView+ComponentViewProtocol.h>
|
|
#import <fabric/core/LayoutMetrics.h>
|
|
#import <fabric/core/Props.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/**
|
|
* UIView class for <View> component.
|
|
*/
|
|
@interface RCTViewComponentView : UIView <RCTComponentViewProtocol> {
|
|
@protected
|
|
facebook::react::LayoutMetrics _layoutMetrics;
|
|
facebook::react::SharedProps _props;
|
|
}
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|