Merge pull request #331 from trueadm/flare_displayName

[Flare] Update event component displayName
This commit is contained in:
Brian Vaughn
2019-06-24 07:48:24 -07:00
committed by GitHub
+1 -1
View File
@@ -479,7 +479,7 @@ export function attach(
case IndeterminateComponent:
return getDisplayName(resolvedType);
case EventComponent:
return type.displayName || 'EventComponent';
return type.responder.displayName || 'EventComponent';
case EventTarget:
switch (getTypeSymbol(elementType.type)) {
case EVENT_TARGET_TOUCH_HIT_NUMBER: