react-native/React/Fabric/Mounting/MountItems/RCTCreateMountItem.h

28 lines
603 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/RCTMountItemProtocol.h>
#import <React/RCTPrimitives.h>
NS_ASSUME_NONNULL_BEGIN
@class RCTComponentViewRegistry;
/**
* Creates a ready-to-mount component view.
*/
@interface RCTCreateMountItem : NSObject <RCTMountItemProtocol>
- (instancetype)initWithComponentName:(NSString *)componentName
tag:(ReactTag)tag;
@end
NS_ASSUME_NONNULL_END