{"version":3,"sources":["../../src/Callout/CalloutText.tsx"],"sourcesContent":["import React, { FC, ElementType, HTMLAttributes } from 'react';\nimport classNames from 'classnames';\n\nexport interface CalloutTextProps extends HTMLAttributes<HTMLElement> {\n  /** Aumenta la dimensione del testo nel paragrafo contenuto  */\n  bigText?: boolean;\n  /** Classi aggiuntive per il componente */\n  className?: string;\n  /** Permette personalizzare il tag utilizzato per il contenitore del titolo (diverso da \"div\"). Accetta sia tag HTML che componenti React. */\n  tag?: ElementType;\n  testId?: string;\n}\n\nexport const CalloutText: FC<CalloutTextProps> = ({\n  bigText = false,\n  children,\n  className,\n  tag = 'p',\n  testId,\n  ...attributes\n}) => {\n  const Tag = tag;\n  const classes = classNames(className, {\n    'callout-big-text': bigText\n  });\n  return (\n    <Tag className={classes} {...attributes} data-testid={testId}>\n      {children}\n    </Tag>\n  );\n};\n"],"mappings":"0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAuD,sBACvDC,EAAuB,2BAYVH,EAAoC,CAAC,CAChD,QAAAI,EAAU,GACV,SAAAC,EACA,UAAAC,EACA,IAAAC,EAAM,IACN,OAAAC,EACA,GAAGC,CACL,IAAM,CACJ,IAAMC,EAAMH,EACNI,KAAU,EAAAC,SAAWN,EAAW,CACpC,mBAAoBF,CACtB,CAAC,EACD,OACE,EAAAS,QAAA,cAACH,EAAA,CAAI,UAAWC,EAAU,GAAGF,EAAY,cAAaD,GACnDH,CACH,CAEJ","names":["CalloutText_exports","__export","CalloutText","__toCommonJS","import_react","import_classnames","bigText","children","className","tag","testId","attributes","Tag","classes","classNames","React"]}