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

26 lines
580 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
/**
* Deletes (returns to recycle pool) a component view.
*/
@interface RCTDeleteMountItem : NSObject <RCTMountItemProtocol>
- (instancetype)initWithComponentName:(NSString *)componentName
tag:(ReactTag)tag;
@end
NS_ASSUME_NONNULL_END