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