"use strict";const i=require("classnames"),o=require("react"),x="typography _typography_c5427",p="label _label_91104",h="heading _heading_99e96",y="centered _centered_8f03d",t={typography:x,label:p,heading:h,centered:y},g={"3xl":"text-3xl","2xl":"text-2xl",xl:"text-xl",lg:"text-lg",md:"text-md",base:"text-base",sm:"text-sm","2sm":"text-2sm",xs:"text-xs"};function m({tag:e,isCentered:s,fontSize:n="base",className:_,children:l,dataQa:c}){const a=e.startsWith("h"),r=e==="p",d=e==="label";return o.createElement(e,{className:i(_,g[n],{[t.centered]:s,[t.heading]:a,[t.label]:d,[t.typography]:r||a}),"data-qa-id":c},l)}exports.Typography=m;
