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.
23 lines
479 B
23 lines
479 B
/* @flow */
|
|
|
|
import React from 'react';
|
|
import styled from 'styled-components';
|
|
import { Notification } from 'trezor-ui-components';
|
|
|
|
const Wrapper = styled.div`
|
|
width: 100%;
|
|
`;
|
|
|
|
const InitializationError = (props: { error: string }) => (
|
|
<Wrapper>
|
|
<Notification
|
|
title="Initialization error"
|
|
message={props.error}
|
|
variant="error"
|
|
cancelable={false}
|
|
/>
|
|
</Wrapper>
|
|
);
|
|
|
|
export default InitializationError;
|