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