diff options
author | 2022-07-19 12:52:31 +0100 | |
---|---|---|
committer | 2022-07-19 12:52:31 +0100 | |
commit | 3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165 (patch) | |
tree | 6b414b9ef3be7656da1717b0d6def62e95d1fb90 /src/components/ui/effects | |
parent | fix: remove autoHibernate (diff) | |
download | ferdium-app-3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165.tar.gz ferdium-app-3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165.tar.zst ferdium-app-3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165.zip |
Feature: Add Release Notes (#491)
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Co-authored-by: Ricardo Cino <ricardo@cino.io>
Diffstat (limited to 'src/components/ui/effects')
-rw-r--r-- | src/components/ui/effects/Appear.tsx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/components/ui/effects/Appear.tsx b/src/components/ui/effects/Appear.tsx index 117c02f97..228c7888a 100644 --- a/src/components/ui/effects/Appear.tsx +++ b/src/components/ui/effects/Appear.tsx | |||
@@ -1,10 +1,10 @@ | |||
1 | import { ReactChildren, useEffect, useState } from 'react'; | 1 | import { ReactNode, useEffect, useState } from 'react'; |
2 | import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; | 2 | import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; |
3 | 3 | ||
4 | type Props = { | 4 | type Props = { |
5 | children: ReactChildren; | 5 | children: ReactNode; |
6 | transitionName: string; | 6 | transitionName: string; |
7 | className: string; | 7 | className?: string; |
8 | }; | 8 | }; |
9 | const Appear = ({ | 9 | const Appear = ({ |
10 | children, | 10 | children, |
@@ -36,4 +36,8 @@ const Appear = ({ | |||
36 | ); | 36 | ); |
37 | }; | 37 | }; |
38 | 38 | ||
39 | Appear.defaultProps = { | ||
40 | className: '', | ||
41 | }; | ||
42 | |||
39 | export default Appear; | 43 | export default Appear; |