diff options
author | 2022-07-29 09:39:45 +0530 | |
---|---|---|
committer | 2022-07-29 14:41:51 +0530 | |
commit | eece41919cf5476cff092c1bb20333e615efff4d (patch) | |
tree | fe72c817e68ab95f6a40283f27f2e68506d2f8c5 /src | |
parent | 6.0.1-nightly.6 [skip ci] (diff) | |
download | ferdium-app-eece41919cf5476cff092c1bb20333e615efff4d.tar.gz ferdium-app-eece41919cf5476cff092c1bb20333e615efff4d.tar.zst ferdium-app-eece41919cf5476cff092c1bb20333e615efff4d.zip |
Replace deprecated 'react-addons-css-transition-group' with 'react-transition-group'
Diffstat (limited to 'src')
-rw-r--r-- | src/components/ui/effects/Appear.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/ui/effects/Appear.tsx b/src/components/ui/effects/Appear.tsx index 228c7888a..416017c83 100644 --- a/src/components/ui/effects/Appear.tsx +++ b/src/components/ui/effects/Appear.tsx | |||
@@ -1,5 +1,5 @@ | |||
1 | import { ReactNode, useEffect, useState } from 'react'; | 1 | import { ReactNode, useEffect, useState } from 'react'; |
2 | import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; | 2 | import { CSSTransitionGroup } from 'react-transition-group'; |
3 | 3 | ||
4 | type Props = { | 4 | type Props = { |
5 | children: ReactNode; | 5 | children: ReactNode; |
@@ -22,7 +22,7 @@ const Appear = ({ | |||
22 | } | 22 | } |
23 | 23 | ||
24 | return ( | 24 | return ( |
25 | <ReactCSSTransitionGroup | 25 | <CSSTransitionGroup |
26 | transitionName={transitionName} | 26 | transitionName={transitionName} |
27 | transitionAppear | 27 | transitionAppear |
28 | transitionLeave | 28 | transitionLeave |
@@ -32,7 +32,7 @@ const Appear = ({ | |||
32 | className={className} | 32 | className={className} |
33 | > | 33 | > |
34 | {children} | 34 | {children} |
35 | </ReactCSSTransitionGroup> | 35 | </CSSTransitionGroup> |
36 | ); | 36 | ); |
37 | }; | 37 | }; |
38 | 38 | ||