1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-15 21:08:57 +00:00

change icon for "change wallet type" btn

This commit is contained in:
slowbackspace 2019-01-16 14:33:44 +01:00
parent c0f794aaad
commit d876fe4ebd
2 changed files with 6 additions and 2 deletions

View File

@ -13,6 +13,7 @@ type Props = {
size?: number,
isActive?: boolean,
color?: string,
viewBox?: string,
onMouseEnter?: () => void,
onMouseLeave?: () => void,
onFocus?: () => void,
@ -66,6 +67,7 @@ const Icon = ({
icon,
size = 32,
color = colors.TEXT_SECONDARY,
viewBox = '0 0 1024 1024',
isActive,
canAnimate,
hoverColor,
@ -86,7 +88,7 @@ const Icon = ({
}}
width={`${size}`}
height={`${size}`}
viewBox="0 0 1024 1024"
viewBox={viewBox}
onMouseEnter={onMouseEnter}
onMouseLeave={onMouseLeave}
onFocus={onFocus}
@ -111,6 +113,7 @@ Icon.propTypes = {
size: PropTypes.number,
isActive: PropTypes.bool,
color: PropTypes.string,
viewBox: PropTypes.string,
onMouseEnter: PropTypes.func,
onMouseLeave: PropTypes.func,
onFocus: PropTypes.func,

View File

@ -60,8 +60,9 @@ class MenuItems extends PureComponent {
{this.showClone() && (
<Item onClick={() => this.props.duplicateDevice(device)}>
<Icon
icon={icons.T1}
icon={icons.WALLET_STANDARD}
size={25}
viewBox="0 0 32 32"
color={colors.TEXT_SECONDARY}
/>
<Label>Change wallet type</Label>