mirror of
https://github.com/status-im/react-native.git
synced 2025-01-11 18:14:14 +00:00
9f46f425f4
Summary: Managing and transmitting LocalData object to native views. Reviewed By: mdvacca Differential Revision: D7738580 fbshipit-source-id: c889da58d3afe7ac14f411576afe659bd079f641
28 lines
687 B
Objective-C
28 lines
687 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>
|
|
#import <fabric/core/LocalData.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/**
|
|
* Updates local data of a component view.
|
|
*/
|
|
@interface RCTUpdateLocalDataMountItem : NSObject <RCTMountItemProtocol>
|
|
|
|
- (instancetype)initWithTag:(ReactTag)tag
|
|
oldLocalData:(facebook::react::SharedLocalData)oldLocalData
|
|
newLocalData:(facebook::react::SharedLocalData)newLocalData;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|