Moved ureadable device to styled-components

pull/8/head
Vladimir Volek 6 years ago
parent 30acfc3ca0
commit ed6e0ee6da

@ -4,25 +4,28 @@
import React from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import styled from 'styled-components';
import { Notification } from 'components/Notification';
import * as TrezorConnectActions from 'actions/TrezorConnectActions';
import type { State, Dispatch } from 'flowtype';
const Wrapper = styled.div``;
type Props = {
acquiring: boolean;
acquireDevice: typeof TrezorConnectActions.acquire
}
const UnreadableDevice = (props: Props) => (
<section className="acquire">
<Wrapper>
<Notification
title="Unreadable device"
message="Please install bridge"
className="error"
cancelable={false}
/>
</section>
</Wrapper>
);
export default connect(

Loading…
Cancel
Save