1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-30 19:00:53 +00:00

Bootloader refactored

This commit is contained in:
Vladimir Volek 2018-08-30 13:16:11 +02:00
parent 77135e8198
commit 847f981767

View File

@ -1,17 +1,36 @@
/* @flow */
import React from 'react';
import styled from 'styled-components';
import { H2 } from 'components/Heading';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
const Wrapper = styled.div`
display: flex;
flex-direction: column;
flex: 1;
`;
const Row = styled.div`
flex: 1;
display: flex;
padding: 0px 48px;
flex-direction: column;
justify-content: center;
align-items: center;
`;
const P = styled.p`
padding: 10px 0px;
text-align: center;
`;
const Bootloader = () => (
<section className="device-settings">
<div className="row">
<Wrapper>
<Row>
<H2>Your device is in firmware update mode</H2>
<p>Please re-connect it</p>
</div>
</section>
<P>Please re-connect it</P>
</Row>
</Wrapper>
);
export default connect(null, null)(Bootloader);