change icon for "change wallet type" btn

pull/341/head
slowbackspace 5 years ago
parent c0f794aaad
commit d876fe4ebd

@ -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,

@ -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>

Loading…
Cancel
Save