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