diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-25 06:09:47 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-25 06:11:46 +0800 |
commit | 5b6cf447e5793a775d8d590647c85971a6746909 (patch) | |
tree | 514783b48fd004e7b52cfc8b5532f93831d7847e /packages/website/ts/components/wallet | |
parent | 3890f8224d371cecbd5c9d0e3d5c4b54f4381fdb (diff) | |
download | dexon-sol-tools-5b6cf447e5793a775d8d590647c85971a6746909.tar dexon-sol-tools-5b6cf447e5793a775d8d590647c85971a6746909.tar.gz dexon-sol-tools-5b6cf447e5793a775d8d590647c85971a6746909.tar.bz2 dexon-sol-tools-5b6cf447e5793a775d8d590647c85971a6746909.tar.lz dexon-sol-tools-5b6cf447e5793a775d8d590647c85971a6746909.tar.xz dexon-sol-tools-5b6cf447e5793a775d8d590647c85971a6746909.tar.zst dexon-sol-tools-5b6cf447e5793a775d8d590647c85971a6746909.zip |
Make tooltip appear to the left of the toggle when onboarding in progress
Diffstat (limited to 'packages/website/ts/components/wallet')
-rw-r--r-- | packages/website/ts/components/wallet/wallet.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx index 02b403220..6abaa840b 100644 --- a/packages/website/ts/components/wallet/wallet.tsx +++ b/packages/website/ts/components/wallet/wallet.tsx @@ -14,6 +14,7 @@ import { DropDown, DropdownMouseEvent } from 'ts/components/ui/drop_down'; import { IconButton } from 'ts/components/ui/icon_button'; import { Identicon } from 'ts/components/ui/identicon'; import { Island } from 'ts/components/ui/island'; +import { PointerDirection } from 'ts/components/ui/pointer'; import { CopyAddressSimpleMenuItem, DifferentWalletSimpleMenuItem, @@ -67,6 +68,7 @@ export interface WalletProps { onRemoveToken: () => void; refetchTokenStateAsync: (tokenAddress: string) => Promise<void>; style: React.CSSProperties; + toggleTooltipDirection?: PointerDirection; } interface WalletState { @@ -420,6 +422,7 @@ export class Wallet extends React.Component<WalletProps, WalletState> { blockchain={this.props.blockchain} token={config.token} tokenState={config.tokenState} + tooltipDirection={this.props.toggleTooltipDirection} refetchTokenStateAsync={async () => this.props.refetchTokenStateAsync(config.token.address)} /> ); |