import { defineComponent, computed, createVNode } from 'vue';
import useConfigInject from '../../config-provider/src/hooks/useConfigInject.mjs';
import { cardGridProps } from './props.mjs';

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

export { ACardGrid as default };
//# sourceMappingURL=Grid.mjs.map
