Created
August 16, 2018 16:57
-
-
Save ddelrio1986/2410d95c856b8fdc46c8956549145b28 to your computer and use it in GitHub Desktop.
A simple general error component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { Alert, Col, Grid, Row } from 'react-bootstrap' | |
const GeneralError = () => ( | |
<Grid fluid> | |
<Row> | |
<Col xs={12}> | |
<Alert bsStyle="danger" style={{marginTop: '1em'}}> | |
<h4 style={{fontWeight: '600'}}>An error has occurred!</h4> | |
<p>Relaunch the content to ensure nothing is lost.</p> | |
</Alert> | |
</Col> | |
</Row> | |
</Grid> | |
) | |
export default GeneralError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment