1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-14 18:48:18 +00:00
trezor-wallet/src/views/Landing/components/InitializationError/index.js
2018-10-02 10:21:22 +02:00

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;