mirror of https://github.com/trezor/trezor-wallet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
516 B
23 lines
516 B
import React from 'react';
|
|
import styled from 'styled-components';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const Wrapper = styled.div``;
|
|
|
|
const Img = styled.img`
|
|
width: ${props => (props.model === 'T' ? '17px' : '13px')};
|
|
`;
|
|
|
|
const TrezorImage = ({ model }) => (
|
|
<Wrapper>
|
|
<Img model={model} src={model === 'T' ? './images/trezor-T.png' : './images/trezor-1.png'} />
|
|
</Wrapper>
|
|
);
|
|
|
|
TrezorImage.propTypes = {
|
|
model: PropTypes.string,
|
|
status: PropTypes.string,
|
|
};
|
|
|
|
export default TrezorImage;
|