Skip to content

Commit

Permalink
Documentation-fix for the child-function state (#498)
Browse files Browse the repository at this point in the history
The child-function is never called with a state of 'unmounted'
  • Loading branch information
jdelStrother authored and silvenon committed May 12, 2019
1 parent db83496 commit 3f5cb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transition.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ Transition.propTypes = {
/**
* A `function` child can be used instead of a React element. This function is
* called with the current transition status (`'entering'`, `'entered'`,
* `'exiting'`, `'exited'`, `'unmounted'`), which can be used to apply context
* `'exiting'`, `'exited'`), which can be used to apply context
* specific props to a component.
*
* ```jsx
Expand Down

0 comments on commit 3f5cb65

Please sign in to comment.