mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Refactor cloning of YogaNode
Reviewed By: priteshrnandgaonkar Differential Revision: D7339832 fbshipit-source-id: 2de6f47ae7601ac083d3b9fbe10ffaf6307ae760
This commit is contained in:
1 parent
d58ba8242b
commit
aff5a75d8e
10 files changed
+94
-58
No files matched your search
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright (c) 2017-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.
|
||||
*/
|
||||
|
||||
package com.facebook.yoga;
|
||||
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
|
||||
@DoNotStrip
|
||||
public interface YogaNodeCloneFunction {
|
||||
|
||||
@DoNotStrip
|
||||
YogaNode cloneNode(YogaNode oldNode, YogaNode parent, int childIndex);
|
||||
}
|
||||
Reference in new issue
Block a user