mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Make isTextNode a prop instead of a function
Reviewed By: javache Differential Revision: D3586184 fbshipit-source-id: 8b269c11c5d47efb6b788be68336845399292168
This commit is contained in:
committed by
Facebook Github Bot 6
parent
1af9270e45
commit
c7ff46bf55
@@ -88,13 +88,13 @@ typedef struct CSSNode {
|
||||
int childCount;
|
||||
int lineIndex;
|
||||
bool shouldUpdate;
|
||||
bool isTextNode;
|
||||
|
||||
struct CSSNode* nextChild;
|
||||
|
||||
CSSSize (*measure)(void *context, float width, CSSMeasureMode widthMode, float height, CSSMeasureMode heightMode);
|
||||
struct CSSNode* (*getChild)(void *context, int i);
|
||||
bool (*isDirty)(void *context);
|
||||
bool (*isTextNode)(void *context);
|
||||
void (*print)(void *context);
|
||||
void *context;
|
||||
} CSSNode;
|
||||
|
||||
Reference in New Issue
Block a user