aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/onboarding/onboarding_flow.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-28 10:21:09 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-28 10:21:09 +0800
commitcd169869428f80c2bb89dbd282783b105472a4a1 (patch)
tree1973a0d96f2efe132c9b2aca7c5851aa348c5f62 /packages/website/ts/components/onboarding/onboarding_flow.tsx
parente481404a149913beb4bd7c24a3535488caf62bcb (diff)
downloaddexon-sol-tools-cd169869428f80c2bb89dbd282783b105472a4a1.tar
dexon-sol-tools-cd169869428f80c2bb89dbd282783b105472a4a1.tar.gz
dexon-sol-tools-cd169869428f80c2bb89dbd282783b105472a4a1.tar.bz2
dexon-sol-tools-cd169869428f80c2bb89dbd282783b105472a4a1.tar.lz
dexon-sol-tools-cd169869428f80c2bb89dbd282783b105472a4a1.tar.xz
dexon-sol-tools-cd169869428f80c2bb89dbd282783b105472a4a1.tar.zst
dexon-sol-tools-cd169869428f80c2bb89dbd282783b105472a4a1.zip
Bring you directly to relayers page once you finish onboarding
Diffstat (limited to 'packages/website/ts/components/onboarding/onboarding_flow.tsx')
-rw-r--r--packages/website/ts/components/onboarding/onboarding_flow.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/components/onboarding/onboarding_flow.tsx b/packages/website/ts/components/onboarding/onboarding_flow.tsx
index e20e58eec..834634909 100644
--- a/packages/website/ts/components/onboarding/onboarding_flow.tsx
+++ b/packages/website/ts/components/onboarding/onboarding_flow.tsx
@@ -17,6 +17,7 @@ export interface Step {
shouldHideNextButton?: boolean;
continueButtonDisplay?: ContinueButtonDisplay;
continueButtonText?: string;
+ onContinueButtonClick?: () => void;
}
export interface OnboardingFlowProps {
@@ -90,6 +91,7 @@ export class OnboardingFlow extends React.Component<OnboardingFlowProps> {
onClickBack={this._goToPrevStep.bind(this)}
continueButtonDisplay={step.continueButtonDisplay}
continueButtonText={step.continueButtonText}
+ onContinueButtonClick={step.onContinueButtonClick}
/>
</Container>
);
@@ -112,6 +114,7 @@ export class OnboardingFlow extends React.Component<OnboardingFlowProps> {
onClickBack={this._goToPrevStep.bind(this)}
continueButtonDisplay={step.continueButtonDisplay}
continueButtonText={step.continueButtonText}
+ onContinueButtonClick={step.onContinueButtonClick}
borderRadius="10px 10px 0px 0px"
/>
</Container>