Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
V3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien FRIKHA authored and Damien FRIKHA committed May 18, 2017
1 parent 05a06ab commit d08aae5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "focus-components",
"version": "3.3.3-preview4",
"version": "3.3.3",
"description": "Focus web components to build applications (based on Material Design)",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -78,8 +78,9 @@
"homepage": "https://github.com/KleeGroup/focus-components",
"dependencies": {
"@types/react": "15.0.1",
"@types/react-transition-group": "1.1.0",
"closest": "0.0.1",
"react-addons-css-transition-group": "^15.4.1",
"react-transition-group": "1.1.3",
"react-date-picker": "^3.1.6"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/animation/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//dependencies
import React, {PropTypes} from 'react';
import ReactCSSTransitionGroup from 'react-addons-css-transition-group';
import {CSSTransitionGroup} from 'react-transition-group';

const propTypes = {
//If you want to use a custom css class
Expand Down Expand Up @@ -61,7 +61,7 @@ function Animation({customClasses, appear, enter, leave, appearName,
}
}
return (
<ReactCSSTransitionGroup
<CSSTransitionGroup
transitionAppear={appear}
transitionAppearTimeout={enter}
transitionEnter={leave}
Expand All @@ -73,7 +73,7 @@ function Animation({customClasses, appear, enter, leave, appearName,
<div className='animated'>
{otherProps.children}
</div>
</ReactCSSTransitionGroup>
</CSSTransitionGroup>
);
}

Expand Down

0 comments on commit d08aae5

Please sign in to comment.