spee.ch/client/pages/ErrorPage/index.jsx
2018-03-16 10:34:26 -07:00

23 lines
440 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
import NavBar from 'containers/NavBar';
class ErrorPage extends React.Component {
render () {
const { error } = this.props;
return (
<div>
<NavBar />
<div className='row row--padded'>
<p>{error}</p>
</div>
</div>
);
}
};
ErrorPage.propTypes = {
error: PropTypes.string.isRequired,
};
export default ErrorPage;