Don't kebabCase property values in defineClass
This commit is contained in:
parent
444da7577f
commit
fc6ae8d07a
5 changed files with 250 additions and 255 deletions
|
|
@ -5,7 +5,7 @@ module.exports = function defineClass(className, properties) {
|
|||
const decls = _.map(properties, (value, property) => {
|
||||
return postcss.decl({
|
||||
prop: _.kebabCase(property),
|
||||
value: _.kebabCase(value),
|
||||
value: value,
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue