Skip to content

Commit a17cd96

Browse files
authored
Fix Transition constants to match (#554)
1 parent 63640da commit a17cd96

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Transition.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -544,10 +544,10 @@ Transition.defaultProps = {
544544
onExited: noop,
545545
}
546546

547-
Transition.UNMOUNTED = 0
548-
Transition.EXITED = 1
549-
Transition.ENTERING = 2
550-
Transition.ENTERED = 3
551-
Transition.EXITING = 4
547+
Transition.UNMOUNTED = UNMOUNTED
548+
Transition.EXITED = EXITED
549+
Transition.ENTERING = ENTERING
550+
Transition.ENTERED = ENTERED
551+
Transition.EXITING = EXITING
552552

553553
export default Transition

0 commit comments

Comments
 (0)