diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-12-18 04:23:08 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-12-18 06:31:14 +0800 |
commit | c4036d7d0f0b0aa2491b67ea882365858574d440 (patch) | |
tree | a83587b2104832cc2e3d21f8a6b8e5d1415226eb /packages/website/ts/components/onboarding | |
parent | 30ccddf0d521f0721f475ae75039fdb966ff7ab0 (diff) | |
download | dexon-sol-tools-c4036d7d0f0b0aa2491b67ea882365858574d440.tar dexon-sol-tools-c4036d7d0f0b0aa2491b67ea882365858574d440.tar.gz dexon-sol-tools-c4036d7d0f0b0aa2491b67ea882365858574d440.tar.bz2 dexon-sol-tools-c4036d7d0f0b0aa2491b67ea882365858574d440.tar.lz dexon-sol-tools-c4036d7d0f0b0aa2491b67ea882365858574d440.tar.xz dexon-sol-tools-c4036d7d0f0b0aa2491b67ea882365858574d440.tar.zst dexon-sol-tools-c4036d7d0f0b0aa2491b67ea882365858574d440.zip |
fix(website): update Animation component for styled components v4
Diffstat (limited to 'packages/website/ts/components/onboarding')
-rw-r--r-- | packages/website/ts/components/onboarding/onboarding_flow.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/onboarding/onboarding_flow.tsx b/packages/website/ts/components/onboarding/onboarding_flow.tsx index 91d5f2476..ec1b5bc42 100644 --- a/packages/website/ts/components/onboarding/onboarding_flow.tsx +++ b/packages/website/ts/components/onboarding/onboarding_flow.tsx @@ -7,8 +7,8 @@ import { OnboardingTooltip, TooltipPointerDisplay, } from 'ts/components/onboarding/onboarding_tooltip'; -import { Animation } from 'ts/components/ui/animation'; import { Container } from 'ts/components/ui/container'; +import { EaseUpFromBottomAnimation } from 'ts/components/ui/ease_up_from_bottom_animation'; import { Overlay } from 'ts/components/ui/overlay'; import { zIndex } from 'ts/style/z_index'; @@ -66,7 +66,7 @@ export class OnboardingFlow extends React.Component<OnboardingFlowProps> { let onboardingElement = null; const currentStep = this._getCurrentStep(); if (this.props.isMobile) { - onboardingElement = <Animation type="easeUpFromBottom">{this._renderOnboardingCard()}</Animation>; + onboardingElement = <EaseUpFromBottomAnimation>{this._renderOnboardingCard()}</EaseUpFromBottomAnimation>; } else if (currentStep.position.type === 'target') { const { placement, target } = currentStep.position; onboardingElement = ( |