diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-05-30 06:15:30 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-05-30 06:18:43 +0800 |
commit | 30ac5fcb5e97c1ae62045ecf84fcd75a2da1ecf2 (patch) | |
tree | 699ed84bdbd958666dc6fe30ca31b35575714c76 /packages/website/ts/components/onboarding/onboarding_tooltip.tsx | |
parent | 92cb5e10be479ca0440b3c7ca91fe70a1ef94c03 (diff) | |
download | dexon-0x-contracts-30ac5fcb5e97c1ae62045ecf84fcd75a2da1ecf2.tar.gz dexon-0x-contracts-30ac5fcb5e97c1ae62045ecf84fcd75a2da1ecf2.tar.zst dexon-0x-contracts-30ac5fcb5e97c1ae62045ecf84fcd75a2da1ecf2.zip |
Remove blacklist concept
Diffstat (limited to 'packages/website/ts/components/onboarding/onboarding_tooltip.tsx')
-rw-r--r-- | packages/website/ts/components/onboarding/onboarding_tooltip.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/components/onboarding/onboarding_tooltip.tsx b/packages/website/ts/components/onboarding/onboarding_tooltip.tsx index 5e8102af0..41925a672 100644 --- a/packages/website/ts/components/onboarding/onboarding_tooltip.tsx +++ b/packages/website/ts/components/onboarding/onboarding_tooltip.tsx @@ -11,6 +11,7 @@ export interface OnboardingTooltipProps { onClose: () => void; onClickNext: () => void; onClickBack: () => void; + hideBackButton?: boolean; } export const OnboardingTooltip: React.StatelessComponent<OnboardingTooltipProps> = (props: OnboardingTooltipProps) => ( @@ -19,7 +20,7 @@ export const OnboardingTooltip: React.StatelessComponent<OnboardingTooltipProps> <div className="flex flex-column"> {props.title} {props.content} - <button onClick={props.onClickBack}>Back</button> + {!props.hideBackButton && <button onClick={props.onClickBack}>Back</button>} <button onClick={props.onClickNext}>Skip</button> <button onClick={props.onClose}>Close</button> </div> |