mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
[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:
@@ -5,6 +5,7 @@ declare namespace CSSTransition {
|
||||
interface CSSTransitionClassNames {
|
||||
appear?: string;
|
||||
appearActive?: string;
|
||||
appearDone?: string;
|
||||
enter?: string;
|
||||
enterActive?: string;
|
||||
enterDone?: string;
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user