diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-10 07:08:01 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-10 07:08:01 +0800 |
commit | 7249cc7b495f370f7ec5672ca36456dd4b6779de (patch) | |
tree | 52c5e52210a584bd00235253f9f9ef05d418e7ad /packages/instant/src/components/install_wallet_panel_content.tsx | |
parent | b5988277087f0ee39109972d73ca94368d6dd4b9 (diff) | |
download | dexon-0x-contracts-7249cc7b495f370f7ec5672ca36456dd4b6779de.tar.gz dexon-0x-contracts-7249cc7b495f370f7ec5672ca36456dd4b6779de.tar.zst dexon-0x-contracts-7249cc7b495f370f7ec5672ca36456dd4b6779de.zip |
feat: allow href prop on button
Diffstat (limited to 'packages/instant/src/components/install_wallet_panel_content.tsx')
-rw-r--r-- | packages/instant/src/components/install_wallet_panel_content.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/instant/src/components/install_wallet_panel_content.tsx b/packages/instant/src/components/install_wallet_panel_content.tsx index 41b8ec74b..07e56ed70 100644 --- a/packages/instant/src/components/install_wallet_panel_content.tsx +++ b/packages/instant/src/components/install_wallet_panel_content.tsx @@ -1,5 +1,6 @@ import * as React from 'react'; +import { METAMASK_CHROME_STORE_URL } from '../constants'; import { ColorOption } from '../style/theme'; import { MetaMaskLogo } from './meta_mask_logo'; @@ -14,7 +15,13 @@ export const InstallWalletPanelContent: React.StatelessComponent<InstallWalletPa title="Install MetaMask" description="Please install the MetaMask wallet extension from the Chrome Store." action={ - <Button width="100%" fontSize="16px" fontColor={ColorOption.white} backgroundColor={ColorOption.darkOrange}> + <Button + href={METAMASK_CHROME_STORE_URL} + width="100%" + fontSize="16px" + fontColor={ColorOption.white} + backgroundColor={ColorOption.darkOrange} + > Get Chrome Extension </Button> } |