import { defineComponent, openBlock, createElementBlock, normalizeStyle } from "vue";
const _hoisted_1 = ["src"];
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "image-item",
  props: {
    zoom: {
      type: Number,
      default: 1
    },
    rotate: {
      type: Number,
      default: 0
    },
    src: {
      type: String,
      default: ""
    }
  },
  setup(__props) {
    const props = __props;
    return (_ctx, _cache) => {
      return openBlock(), createElementBlock("img", {
        class: "image-preview",
        style: normalizeStyle({
          transform: `scale(${props.zoom}) rotate(${props.rotate}deg)`
        }),
        src: props.src
      }, null, 12, _hoisted_1);
    };
  }
});
export {
  _sfc_main as default
};
