diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-07-01 04:23:13 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-07-02 05:50:55 +0800 |
commit | 3031598843080ff4fabb7bfb0ba823be6d545285 (patch) | |
tree | 0993608a301b6754adae1d31ac095554fbb343e3 /packages/website/ts/components/wallet/wallet.tsx | |
parent | b9b00e10d39c3c84bc72892ef37f1313e904414d (diff) | |
download | dexon-sol-tools-3031598843080ff4fabb7bfb0ba823be6d545285.tar.gz dexon-sol-tools-3031598843080ff4fabb7bfb0ba823be6d545285.tar.zst dexon-sol-tools-3031598843080ff4fabb7bfb0ba823be6d545285.zip |
Implement icon button
Diffstat (limited to 'packages/website/ts/components/wallet/wallet.tsx')
-rw-r--r-- | packages/website/ts/components/wallet/wallet.tsx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx index 1f1e3598a..899f8e3a3 100644 --- a/packages/website/ts/components/wallet/wallet.tsx +++ b/packages/website/ts/components/wallet/wallet.tsx @@ -199,11 +199,26 @@ export class Wallet extends React.Component<WalletProps, WalletState> { <AccountConnection accountState={accountState} injectedProviderName={this.props.injectedProviderName} /> </div> ); + const onClick = _.noop; + const accessory = ( + <Container marginRight="15px"> + <Text + className="zmdi zmdi-more-horiz" + Tag="i" + fontSize="32px" + fontFamily="Material-Design-Iconic-Font" + fontColor={colors.darkGrey} + onClick={onClick} + hoverColor={colors.mediumBlue} + /> + </Container> + ); return ( <Link key={HEADER_ITEM_KEY} to={ACCOUNT_PATH} style={{ textDecoration: 'none' }}> <StandardIconRow icon={<Identicon address={userAddress} diameter={ICON_DIMENSION} />} main={main} + accessory={accessory} minHeight="60px" backgroundColor={colors.white} /> |