$ cnpm install jss-camel-case
Internally it converts everything back to dash separated names.
Make sure you read how to use plugins in general.
const styles = {
container: {
fontSize: '20px',
zIndex: 1,
lineHeight: 1.2
}
}
.container-a24234 {
font-size: 20px;
z-index: 1;
line-height: 1.2;
}
File a bug against cssinjs/jss prefixed with [jss-camel-case].
npm i
npm run test
MIT
Copyright 2013 - present © cnpmjs.org | Home |