[react-transition-group] Support appearDone class name on <CSSTransition/>

Since v2.9.0, the `appearDone` class name has been supported.

See also:
- https://github.com/reactjs/react-transition-group/blob/v2.9.0/CHANGELOG.md
- https://github.com/reactjs/react-transition-group/commit/fe3c156c11b140b4ce494261a2cc4ac66e99f40c
This commit is contained in:
Masafumi Koba
2019-04-09 10:11:29 +09:00
parent 0bb3d1863d
commit 77733c3a34
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@ declare namespace CSSTransition {
interface CSSTransitionClassNames {
appear?: string;
appearActive?: string;
appearDone?: string;
enter?: string;
enterActive?: string;
enterDone?: string;
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for react-transition-group 2.8
// Type definitions for react-transition-group 2.9
// Project: https://github.com/reactjs/react-transition-group
// Definitions by: Karol Janyst <https://github.com/LKay>
// Epskampie <https://github.com/Epskampie>
@@ -110,6 +110,7 @@ const Test: React.StatelessComponent = () => {
classNames={ {
appear: "fade-appear",
appearActive: "fade-active-appear",
appearDone: "fade-done-appear",
enter: "fade-enter",
enterActive: "fade-active-enter",
enterDone: "fade-done-enter",