redbox-react-black-option

v1.0.1
Exports a style object that changes the color of the redbox to black
react

redbox-react-black-option

This module exports a single style object that changes the color from red to black for use as an additional option if your using redbox-react as a babel plugin.

Yes, it is completely trivial. I just wanted this option to live inside of my node_modules instead of in my project.

Use

Just install the module and add the option to your .babelrc

{
    "presets": ["es2015", "react", "stage-2"],
    "env": {
      development: {
        plugins: [
          ['react-transform', {
            transforms: [{
              transform: 'react-transform-catch-errors',
              imports: ['react', 'redbox-react', 'redbox-react-black-option']
            }]
          }]
        ]
      }
    }
}
npm i redbox-react-black-option

Metadata

  • ISC
  • Whatever
  • Matt Parrilla
  • released 5/5/2016

Downloads

Maintainers