"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;
