mirror of
https://github.com/trezor/trezor-wallet
synced 2025-06-27 18:32:35 +00:00
change icon for "change wallet type" btn
This commit is contained in:
parent
c0f794aaad
commit
d876fe4ebd
@ -13,6 +13,7 @@ type Props = {
|
|||||||
size?: number,
|
size?: number,
|
||||||
isActive?: boolean,
|
isActive?: boolean,
|
||||||
color?: string,
|
color?: string,
|
||||||
|
viewBox?: string,
|
||||||
onMouseEnter?: () => void,
|
onMouseEnter?: () => void,
|
||||||
onMouseLeave?: () => void,
|
onMouseLeave?: () => void,
|
||||||
onFocus?: () => void,
|
onFocus?: () => void,
|
||||||
@ -66,6 +67,7 @@ const Icon = ({
|
|||||||
icon,
|
icon,
|
||||||
size = 32,
|
size = 32,
|
||||||
color = colors.TEXT_SECONDARY,
|
color = colors.TEXT_SECONDARY,
|
||||||
|
viewBox = '0 0 1024 1024',
|
||||||
isActive,
|
isActive,
|
||||||
canAnimate,
|
canAnimate,
|
||||||
hoverColor,
|
hoverColor,
|
||||||
@ -86,7 +88,7 @@ const Icon = ({
|
|||||||
}}
|
}}
|
||||||
width={`${size}`}
|
width={`${size}`}
|
||||||
height={`${size}`}
|
height={`${size}`}
|
||||||
viewBox="0 0 1024 1024"
|
viewBox={viewBox}
|
||||||
onMouseEnter={onMouseEnter}
|
onMouseEnter={onMouseEnter}
|
||||||
onMouseLeave={onMouseLeave}
|
onMouseLeave={onMouseLeave}
|
||||||
onFocus={onFocus}
|
onFocus={onFocus}
|
||||||
@ -111,6 +113,7 @@ Icon.propTypes = {
|
|||||||
size: PropTypes.number,
|
size: PropTypes.number,
|
||||||
isActive: PropTypes.bool,
|
isActive: PropTypes.bool,
|
||||||
color: PropTypes.string,
|
color: PropTypes.string,
|
||||||
|
viewBox: PropTypes.string,
|
||||||
onMouseEnter: PropTypes.func,
|
onMouseEnter: PropTypes.func,
|
||||||
onMouseLeave: PropTypes.func,
|
onMouseLeave: PropTypes.func,
|
||||||
onFocus: PropTypes.func,
|
onFocus: PropTypes.func,
|
||||||
|
@ -60,8 +60,9 @@ class MenuItems extends PureComponent {
|
|||||||
{this.showClone() && (
|
{this.showClone() && (
|
||||||
<Item onClick={() => this.props.duplicateDevice(device)}>
|
<Item onClick={() => this.props.duplicateDevice(device)}>
|
||||||
<Icon
|
<Icon
|
||||||
icon={icons.T1}
|
icon={icons.WALLET_STANDARD}
|
||||||
size={25}
|
size={25}
|
||||||
|
viewBox="0 0 32 32"
|
||||||
color={colors.TEXT_SECONDARY}
|
color={colors.TEXT_SECONDARY}
|
||||||
/>
|
/>
|
||||||
<Label>Change wallet type</Label>
|
<Label>Change wallet type</Label>
|
||||||
|
Loading…
Reference in New Issue
Block a user