File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ const enterRenders = {
9696 * }
9797 * ```
9898 */
99- export class SwitchTransition extends React . Component {
99+ class SwitchTransition extends React . Component {
100100 state = {
101101 status : ENTERED ,
102102 current : null
@@ -189,3 +189,5 @@ SwitchTransition.propTypes = {
189189SwitchTransition . defaultProps = {
190190 mode : modes . out
191191}
192+
193+ export default SwitchTransition ;
Original file line number Diff line number Diff line change 11export { default as CSSTransition } from './CSSTransition'
22export { default as ReplaceTransition } from './ReplaceTransition'
3+ export { default as SwitchTransition } from './SwitchTransition'
34export { default as TransitionGroup } from './TransitionGroup'
45export { default as Transition } from './Transition'
56export { default as config } from './config'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import React from 'react';
33import { mount } from 'enzyme' ;
44
55import Transition , { ENTERED } from '../src/Transition' ;
6- import { SwitchTransition , modes } from '../src/SwitchTransition' ;
6+ import SwitchTransition , { modes } from '../src/SwitchTransition' ;
77
88describe ( 'SwitchTransition' , ( ) => {
99 let log , Parent ;
You can’t perform that action at this time.
0 commit comments