import{defineComponent as l,createVNode as t,Fragment as c}from"vue";import{FileTextOutlined as p}from"@antsoo-lib/icons";import{filterEmpty as s}from"../_util/props-util/index.mjs";import{floatButtonContentProps as a}from"./interface.mjs";const C=l({compatConfig:{MODE:3},name:"AFloatButtonContent",inheritAttrs:!1,props:a(),setup(r,{attrs:i,slots:n}){return()=>{const{prefixCls:o}=r,e=s(n.description?.());return t("div",{...i,class:[i.class,`${o}-content`]},[n.icon||e.length?t(c,null,[n.icon&&t("div",{class:`${o}-icon`},[n.icon()]),e.length?t("div",{class:`${o}-description`},[e]):null]):t("div",{class:`${o}-icon`},[t(p,null,null)])])}}});export{C as default};
