/* 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,
};
