aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/sliding_error.tsx
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-16 04:12:52 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-16 04:12:52 +0800
commitaf495143974941fb6cc4210b1965c17f007465e6 (patch)
treec7eb7429116cc3b0ef7fd737694f68e4b8ba66e8 /packages/instant/src/components/sliding_error.tsx
parent2aa4761d6dfaa007ed632816de9416a6477cd370 (diff)
downloaddexon-0x-contracts-af495143974941fb6cc4210b1965c17f007465e6.tar.gz
dexon-0x-contracts-af495143974941fb6cc4210b1965c17f007465e6.tar.zst
dexon-0x-contracts-af495143974941fb6cc4210b1965c17f007465e6.zip
suggestions from code review: renaming timeoutNumber to timeoutId, sharing interface, renaming component
Diffstat (limited to 'packages/instant/src/components/sliding_error.tsx')
-rw-r--r--packages/instant/src/components/sliding_error.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/src/components/sliding_error.tsx b/packages/instant/src/components/sliding_error.tsx
index 2e6decbad..0237fb7e9 100644
--- a/packages/instant/src/components/sliding_error.tsx
+++ b/packages/instant/src/components/sliding_error.tsx
@@ -2,7 +2,7 @@ import * as React from 'react';
import { ColorOption } from '../style/theme';
-import { SlideUpAndDownAnimationComponent } from './animations/slide_up_and_down_animation';
+import { SlideUpAndDownAnimation } from './animations/slide_up_and_down_animation';
import { Container, Text } from './ui';
@@ -30,7 +30,7 @@ export const Error: React.StatelessComponent<ErrorProps> = props => (
);
export const SlidingError: React.StatelessComponent<ErrorProps> = props => (
- <SlideUpAndDownAnimationComponent downY="120px" delayMs={5000}>
+ <SlideUpAndDownAnimation downY="120px" delayMs={5000}>
<Error icon={props.icon} message={props.message} />
- </SlideUpAndDownAnimationComponent>
+ </SlideUpAndDownAnimation>
);