"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const index = require("../../../../../node_modules/@vueuse/core/index.js");
const Vue = require("vue");
function useContainer(layout) {
  const containerEl = Vue.ref();
  const { width, height } = index.useElementSize(containerEl);
  return {
    containerEl,
    containerSize: Vue.computed(() => {
      return layout.value === "horizontal" ? width.value : height.value;
    })
  };
}
exports.useContainer = useContainer;
