Skip to content

Commit f45f605

Browse files
rubennortefacebook-github-bot
authored andcommitted
Remove references to ShadowNodeFamilyFragment from ComponentKit shadow node wrappers
Differential Revision: D46190383 fbshipit-source-id: 4b703dedac42c7889b63c11c6f1698e29ddaca0b
1 parent 5ef5767 commit f45f605

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/react-native/ReactCommon/react/renderer/core/ShadowNodeFamily.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ SurfaceId ShadowNodeFamily::getSurfaceId() const {
4848
return surfaceId_;
4949
}
5050

51+
SharedEventEmitter ShadowNodeFamily::getEventEmitter() const {
52+
return eventEmitter_;
53+
}
54+
5155
ComponentName ShadowNodeFamily::getComponentName() const {
5256
return componentName_;
5357
}

packages/react-native/ReactCommon/react/renderer/core/ShadowNodeFamily.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ class ShadowNodeFamily final {
7373

7474
SurfaceId getSurfaceId() const;
7575

76+
SharedEventEmitter getEventEmitter() const;
77+
7678
/*
7779
* Sets and gets the most recent state.
7880
*/

0 commit comments

Comments
 (0)