import React from 'react'; import { NgIf } from './'; export const Error = (props) => { let style = props.style || {}; style.textAlign = 'center'; style.marginTop = '50px'; style.fontSize = '25px'; style.fontStyle = 'italic'; style.fontWeight = 100; return (
{props.err.message || "Oups something went wrong :/"} {JSON.stringify(props.err.trace)}
); }