Skip to content

Commit

Permalink
Experimental event API: Support EventComponent onUnmount responder ca…
Browse files Browse the repository at this point in the history
…llback (#15335)
  • Loading branch information
trueadm authored Apr 6, 2019
1 parent 6227ff9 commit 4b584b8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/ReactTestHostConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ export function unhideTextInstance(
export function handleEventComponent(
eventResponder: ReactEventResponder,
rootContainerInstance: Container,
internalInstanceHandle: Object,
): void {
// noop
}
Expand Down Expand Up @@ -364,6 +363,14 @@ export function getEventTargetChildElement(
return null;
}

export function unmountEventComponent(
eventResponder: ReactEventResponder,
rootContainerInstance: Container,
internalInstanceHandle: Object,
): void {
// TODO: add unmountEventComponent implementation
}

export function handleEventTarget(
type: Symbol | number,
props: Props,
Expand Down

0 comments on commit 4b584b8

Please sign in to comment.