const e=require("../_util/classNames.js"),t=require("../config-provider/hooks/useConfigInject.js"),n=require("./style/index.js");let r=require("vue");var i=()=>({prefixCls:String,direction:String,component:String}),a=(0,r.defineComponent)({name:`ATypography`,inheritAttrs:!1,props:i(),setup(i,{slots:a,attrs:o}){let{prefixCls:s,direction:c}=t.default(`typography`,i),[l,u]=n.default(s);return()=>{let{prefixCls:t,direction:n,component:d=`article`,...f}={...i,...o};return l((0,r.createVNode)(d,{...f,class:e.default(s.value,{[`${s.value}-rtl`]:c.value===`rtl`},o.class,u.value)},{default:()=>[a.default?.()]}))}}});exports.default=a,exports.typographyProps=i;