mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Replaced deprecated react-addons-css-transition-group with react-transition-group
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React, { Component, PropTypes } from 'react';
|
||||
|
||||
import ReactCSSTransitionGroup from 'react-addons-css-transition-group';
|
||||
import { CSSTransitionGroup } from 'react-transition-group';
|
||||
import { browserHistory } from 'services/history';
|
||||
|
||||
import styles from './popup.scss';
|
||||
@@ -30,7 +30,7 @@ export class PopupStack extends Component {
|
||||
const {popups} = this.props;
|
||||
|
||||
return (
|
||||
<ReactCSSTransitionGroup
|
||||
<CSSTransitionGroup
|
||||
transitionName={{
|
||||
enter: styles.trEnter,
|
||||
enterActive: styles.trEnterActive,
|
||||
@@ -51,7 +51,7 @@ export class PopupStack extends Component {
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</ReactCSSTransitionGroup>
|
||||
</CSSTransitionGroup>
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user