aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2022-07-19 12:52:31 +0100
committerLibravatar GitHub <noreply@github.com>2022-07-19 12:52:31 +0100
commit3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165 (patch)
tree6b414b9ef3be7656da1717b0d6def62e95d1fb90 /src/components/ui
parentfix: remove autoHibernate (diff)
downloadferdium-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')
-rw-r--r--src/components/ui/effects/Appear.tsx10
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 @@
1import { ReactChildren, useEffect, useState } from 'react'; 1import { ReactNode, useEffect, useState } from 'react';
2import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; 2import ReactCSSTransitionGroup from 'react-addons-css-transition-group';
3 3
4type Props = { 4type Props = {
5 children: ReactChildren; 5 children: ReactNode;
6 transitionName: string; 6 transitionName: string;
7 className: string; 7 className?: string;
8}; 8};
9const Appear = ({ 9const Appear = ({
10 children, 10 children,
@@ -36,4 +36,8 @@ const Appear = ({
36 ); 36 );
37}; 37};
38 38
39Appear.defaultProps = {
40 className: '',
41};
42
39export default Appear; 43export default Appear;