1.0.1 • Published 8 years ago

redbox-react-black-option v1.0.1

Weekly downloads
2
License
ISC
Repository
-
Last release
8 years ago

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']
            }]
          }]
        ]
      }
    }
}