mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-14 18:48:18 +00:00
23 lines
507 B
JavaScript
23 lines
507 B
JavaScript
/* @flow */
|
|
|
|
import React from 'react';
|
|
import styled from 'styled-components';
|
|
import { Notification } from 'components/Notification';
|
|
|
|
const Wrapper = styled.div`
|
|
min-width: 720px;
|
|
width: 100%;
|
|
`;
|
|
|
|
const InitializationError = (props: { error: ?string }) => (
|
|
<Wrapper>
|
|
<Notification
|
|
title="Initialization error"
|
|
message={props.error || ''}
|
|
type="error"
|
|
cancelable={false}
|
|
/>
|
|
</Wrapper>
|
|
);
|
|
|
|
export default InitializationError; |