vant-weapp/packages/wxs/style.wxs

16 lines
297 B
XML

/* eslint-disable */
var object = require('./object.wxs');
function style(styles) {
return object.keys(styles)
.filter(function (key) {
return styles[key];
})
.map(function (key) {
return [key, [styles[key]]].join(':');
})
.join(';');
}
module.exports = style;