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.
37 lines
827 B
37 lines
827 B
import styled from 'styled-components';
|
|
import { H2 } from 'components/Heading';
|
|
import Paragraph from 'components/Paragraph';
|
|
import React from 'react';
|
|
import { connect } from 'react-redux';
|
|
|
|
const Wrapper = styled.div`
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: center;
|
|
align-items: center;
|
|
`;
|
|
|
|
const Row = styled.div`
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
`;
|
|
|
|
const StyledParagraph = styled(Paragraph)`
|
|
margin: 10px 50px;
|
|
display: block;
|
|
text-align: center;
|
|
`;
|
|
|
|
const Seedless = () => (
|
|
<Wrapper>
|
|
<Row>
|
|
<H2>Device is in seedless mode</H2>
|
|
<StyledParagraph>It's not suitable to use this service.</StyledParagraph>
|
|
</Row>
|
|
</Wrapper>
|
|
);
|
|
|
|
export default connect(null, null)(Seedless);
|