'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
var useConfigInject = require('../../config-provider/src/hooks/useConfigInject.cjs');
var props = require('./props.cjs');

var ACardGrid = /* @__PURE__ */ vue.defineComponent({
  compatConfig: {
    MODE: 3
  },
  name: "ACardGrid",
  __ANT_CARD_GRID: true,
  props: props.cardGridProps(),
  setup(props, {
    slots
  }) {
    const {
      prefixCls
    } = useConfigInject.default("card", props);
    const classNames = vue.computed(() => {
      return {
        [`${prefixCls.value}-grid`]: true,
        [`${prefixCls.value}-grid-hoverable`]: props.hoverable
      };
    });
    return () => {
      var _a;
      return vue.createVNode("div", {
        "class": classNames.value
      }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
    };
  }
});

exports.default = ACardGrid;
//# sourceMappingURL=Grid.cjs.map
