spee.ch/react/components/ErrorPage/index.js

22 lines
367 B
JavaScript
Raw Normal View History

import React from 'react';
import NavBar from 'containers/NavBar';
class ErrorPage extends React.Component {
render () {
2018-02-07 07:54:06 +01:00
const { error } = this.props;
return (
<div>
<NavBar/>
<div className="row row--padded">
2018-02-07 07:54:06 +01:00
<p>{error}</p>
</div>
</div>
);
}
};
// required props
// error
export default ErrorPage;