1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-06-30 20:02:39 +00:00
trezor-wallet/src/views/Landing/components/InitializationError/index.js
2019-01-24 23:11:53 +01:00

22 lines
474 B
JavaScript

/* @flow */
import React from 'react';
import styled from 'styled-components';
import Notification from 'components/Notification';
const Wrapper = styled.div`
width: 100%;
`;
const InitializationError = (props: { error: string }) => (
<Wrapper>
<Notification
title="Initialization error"
message={props.error}
type="error"
cancelable={false}
/>
</Wrapper>
);
export default InitializationError;