Skip to content

🔵 A Blue Screen Of Death (bsod) component to display your errors.

Notifications You must be signed in to change notification settings

jesstelford/react-bsod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Jess Telford
May 25, 2017
0cbbf14 · May 25, 2017

History

17 Commits
May 25, 2017
Aug 8, 2016
Aug 8, 2016
Aug 8, 2016
May 25, 2017
May 25, 2017
May 25, 2017

Repository files navigation

react-bsod

react-bsod (aka blue screen of death) renders an error in this old-school format:

blue screen of death

This is a drop-in replacement for redbox-react

Usage

npm install --save-dev react-bsod
import BSOD from 'react-bsod'

const e = new Error('boom')
const bsod = <BSOD error={e} />

See the redbox-react documentation for a more detailed explanation of usage.

Note: All props are passed through to redbox-react except style, which is replaced internally

Contributing

This is an open open source project; please send your PRs / issues / comments via GitHub. If your contributions are of high quality, I will grant you commit access to the repository.