import{jsx as i}from"react/jsx-runtime";import o from"classnames";import e from"./Text.scss.js";var r={36:e.size_36,32:e.size_32,24:e.size_24,20:e.size_20,18:e.size_18,16:e.size_16,14:e.size_14,12:e.size_12},s={bold:e.bold,medium:e.medium,regular:e.regular},t={T1:e.color_t1,T6:e.color_t6,T7:e.color_t7,T8:e.color_t8,T9:e.color_t9},a=function(a){var l=a.children,c=a.size,m=void 0===c?16:c,d=a.weight,_=void 0===d?"regular":d,z=a.color,n=void 0===z?"T1":z,u=a.italic,v=void 0!==u&&u,T=a.tagName,g=void 0===T?"span":T,p=a.className,f=a.testId;return i(g,{className:o(e.root,r[m],s[_],t[n],v&&e.italic,p),"data-testid":f,children:l})};export{a as Text};
