1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-26 17:08:07 +00:00

add Tittle to receive component

This commit is contained in:
Szymon Lesisz 2018-12-05 10:58:54 +01:00
parent 076bba4ba3
commit ebce4562df
2 changed files with 112 additions and 116 deletions

View File

@ -4,7 +4,7 @@ import { QRCode } from 'react-qr-svg';
import styled from 'styled-components'; import styled from 'styled-components';
import media from 'styled-media-query'; import media from 'styled-media-query';
import { H2 } from 'components/Heading'; import Title from 'views/Wallet/components/Title';
import Button from 'components/Button'; import Button from 'components/Button';
import Icon from 'components/Icon'; import Icon from 'components/Icon';
import Tooltip from 'components/Tooltip'; import Tooltip from 'components/Tooltip';
@ -113,8 +113,7 @@ const AccountReceive = (props: Props) => {
return ( return (
<Content> <Content>
<React.Fragment> <Title>Receive Ethereum or tokens</Title>
<H2>Receive Ethereum or tokens</H2>
<AddressWrapper isShowingQrCode={addressVerified || addressUnverified}> <AddressWrapper isShowingQrCode={addressVerified || addressUnverified}>
<Label>Address</Label> <Label>Address</Label>
<Row> <Row>
@ -172,7 +171,6 @@ const AccountReceive = (props: Props) => {
</QrWrapper> </QrWrapper>
)} )}
</AddressWrapper> </AddressWrapper>
</React.Fragment>
</Content> </Content>
); );
}; };

View File

@ -4,7 +4,7 @@ import { QRCode } from 'react-qr-svg';
import styled from 'styled-components'; import styled from 'styled-components';
import media from 'styled-media-query'; import media from 'styled-media-query';
import { H2 } from 'components/Heading'; import Title from 'views/Wallet/components/Title';
import Button from 'components/Button'; import Button from 'components/Button';
import Icon from 'components/Icon'; import Icon from 'components/Icon';
import Tooltip from 'components/Tooltip'; import Tooltip from 'components/Tooltip';
@ -113,8 +113,7 @@ const AccountReceive = (props: Props) => {
return ( return (
<Content> <Content>
<React.Fragment> <Title>Receive Ripple</Title>
<H2>Receive Ripple</H2>
<AddressWrapper isShowingQrCode={addressVerified || addressUnverified}> <AddressWrapper isShowingQrCode={addressVerified || addressUnverified}>
<Label>Address</Label> <Label>Address</Label>
<Row> <Row>
@ -172,7 +171,6 @@ const AccountReceive = (props: Props) => {
</QrWrapper> </QrWrapper>
)} )}
</AddressWrapper> </AddressWrapper>
</React.Fragment>
</Content> </Content>
); );
}; };