'use strict';

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

var vue = require('vue');
var iconsVue = require('@ant-design/icons-vue');
require('../../../utils/index.cjs');
var props = require('./props.cjs');
var props$1 = require('../../../utils/vue/props.cjs');

var Content = /* @__PURE__ */ vue.defineComponent({
  compatConfig: {
    MODE: 3
  },
  name: "AFloatButtonContent",
  inheritAttrs: false,
  props: props.floatButtonContentProps(),
  setup(props, {
    attrs,
    slots
  }) {
    return () => {
      var _a;
      const {
        prefixCls
      } = props;
      const description = props$1.filterEmpty((_a = slots.description) == null ? void 0 : _a.call(slots));
      return vue.createVNode("div", {
        ...attrs,
        "class": [attrs.class, `${prefixCls}-content`]
      }, [slots.icon || description.length ? vue.createVNode(vue.Fragment, null, [slots.icon && vue.createVNode("div", {
        "class": `${prefixCls}-icon`
      }, [slots.icon()]), description.length ? vue.createVNode("div", {
        "class": `${prefixCls}-description`
      }, [description]) : null]) : vue.createVNode("div", {
        "class": `${prefixCls}-icon`
      }, [vue.createVNode(iconsVue.FileTextOutlined, null, null)])]);
    };
  }
});

exports.default = Content;
//# sourceMappingURL=FloatButtonContent.cjs.map
