aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-25 06:09:47 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-25 06:11:46 +0800
commit5b6cf447e5793a775d8d590647c85971a6746909 (patch)
tree514783b48fd004e7b52cfc8b5532f93831d7847e /packages/website/ts/components/ui
parent3890f8224d371cecbd5c9d0e3d5c4b54f4381fdb (diff)
downloaddexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar
dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar.gz
dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar.bz2
dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar.lz
dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar.xz
dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.tar.zst
dexon-0x-contracts-5b6cf447e5793a775d8d590647c85971a6746909.zip
Make tooltip appear to the left of the toggle when onboarding in progress
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r--packages/website/ts/components/ui/pointer.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/website/ts/components/ui/pointer.tsx b/packages/website/ts/components/ui/pointer.tsx
index 448786bb4..db0a4188d 100644
--- a/packages/website/ts/components/ui/pointer.tsx
+++ b/packages/website/ts/components/ui/pointer.tsx
@@ -2,7 +2,12 @@ import { colors } from '@0xproject/react-shared';
import * as React from 'react';
import { styled } from 'ts/style/theme';
-export type PointerDirection = 'top' | 'right' | 'bottom' | 'left';
+export enum PointerDirection {
+ Top = 'top',
+ Right = 'right',
+ Bottom = 'bottom',
+ Left = 'left',
+}
export interface PointerProps {
className?: string;