1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-01 04:38:15 +00:00

Added icon

This commit is contained in:
Vladimir Volek 2018-11-15 17:04:17 +01:00
parent 6a9371fa2b
commit 0999c99432
2 changed files with 3 additions and 6 deletions

View File

@ -3,6 +3,8 @@
import React from 'react'; import React from 'react';
import styled from 'styled-components'; import styled from 'styled-components';
import { H3 } from 'components/Heading'; import { H3 } from 'components/Heading';
import ICONS from 'config/icons';
import Icon from 'components/Icon';
const Wrapper = styled.div``; const Wrapper = styled.div``;
@ -13,6 +15,7 @@ const Header = styled.div`
const ConfirmAction = () => ( const ConfirmAction = () => (
<Wrapper> <Wrapper>
<Header> <Header>
<Icon icon={ICONS.T1} size={100} />
<H3>Confirm action on your Trezor</H3> <H3>Confirm action on your Trezor</H3>
</Header> </Header>
</Wrapper> </Wrapper>

View File

@ -3,7 +3,6 @@ import React, { Component } from 'react';
import styled from 'styled-components'; import styled from 'styled-components';
import Input from 'components/inputs/Input'; import Input from 'components/inputs/Input';
import Textarea from 'components/Textarea'; import Textarea from 'components/Textarea';
import ICONS from 'config/icons';
import { validateAddress } from 'utils/ethUtils'; import { validateAddress } from 'utils/ethUtils';
import Icon from 'components/Icon'; import Icon from 'components/Icon';
import Title from 'views/Wallet/components/Title'; import Title from 'views/Wallet/components/Title';
@ -53,11 +52,6 @@ const Label = styled.div`
padding: 5px 0px 10px 0; padding: 5px 0px 10px 0;
`; `;
const StyledIcon = styled(Icon)`
position: relative;
left: 0;
`;
type State = { type State = {
signMessage: string, signMessage: string,
verifyAddress: string, verifyAddress: string,