You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
285 B
15 lines
285 B
2 years ago
|
/* eslint-disable */
|
||
|
var style = require('../wxs/style.wxs');
|
||
|
var addUnit = require('../wxs/add-unit.wxs');
|
||
|
|
||
|
function sizeStyle(data) {
|
||
|
return style({
|
||
|
width: addUnit(data.previewSize),
|
||
|
height: addUnit(data.previewSize),
|
||
|
});
|
||
|
}
|
||
|
|
||
|
module.exports = {
|
||
|
sizeStyle: sizeStyle,
|
||
|
};
|