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.
trezor-wallet/src/views/Wallet/views/UnreadableDevice/index.js

24 lines
686 B

/* @flow */
import React from 'react';
import styled from 'styled-components';
import { Notification } from 'trezor-ui-components';
import { injectIntl } from 'react-intl';
import type { IntlShape } from 'react-intl';
import l10nMessages from './index.messages';
const Wrapper = styled.div``;
const UnreadableDevice = ({ intl }: { intl: IntlShape }) => (
<Wrapper>
<Notification
title={intl.formatMessage(l10nMessages.TR_UNREADABLE_DEVICE)}
message={intl.formatMessage(l10nMessages.TR_PLEASE_INSTALL_TREZOR_BRIDGE)}
type="error"
cancelable={false}
/>
</Wrapper>
);
export default injectIntl(UnreadableDevice);