Don't kebabCase property values in defineClass

This commit is contained in:
Adam Wathan 2017-08-26 10:15:24 -04:00
parent 444da7577f
commit fc6ae8d07a
5 changed files with 250 additions and 255 deletions

View file

@ -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,
})
})