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

21 lines
344 B
JavaScript
Raw Normal View History

import React from 'react';
import NavBar from 'containers/NavBar';
class ErrorPage extends React.Component {
render () {
return (
<div>
<NavBar/>
<div className="row row--padded">
<p>{this.props.error}</p>
</div>
</div>
);
}
};
// required props
// error
export default ErrorPage;