Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 263 Bytes

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;
}