Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Camel case syntax

After using this plugin, we can write CSS properties in camel case syntax.

const styles = {
  button: {
    color: 'red',
    fontSize: '12px'
  }
}

Compiles to:

.button-0 {
  color: red;
  font-size: 12px;
}

Demo

CodeSandbox