{"version":3,"sources":["../../src/Timeline/TimelineWrapper.tsx"],"sourcesContent":["import React, { FC, HTMLAttributes } from 'react';\nimport classnames from 'classnames';\n\nexport interface TimelineProps extends HTMLAttributes<HTMLElement> {\n  /** Classi aggiuntive da usare per il componente TimelineProps */\n  className?: string;\n  testId?: string;\n}\n\nexport const Timeline: FC<TimelineProps> = (props) => {\n  const { className, testId, ...attributes } = props;\n  const { children, ...rest } = attributes;\n  const timelineWrapper = classnames(className, 'it-timeline-wrapper');\n\n  return (\n    <div className={timelineWrapper} {...rest} data-testid={testId}>\n      {children}\n    </div>\n  );\n};\n"],"mappings":"0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,cAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA0C,sBAC1CC,EAAuB,2BAQVH,EAA+BI,GAAU,CACpD,GAAM,CAAE,UAAAC,EAAW,OAAAC,EAAQ,GAAGC,CAAW,EAAIH,EACvC,CAAE,SAAAI,EAAU,GAAGC,CAAK,EAAIF,EACxBG,KAAkB,EAAAC,SAAWN,EAAW,qBAAqB,EAEnE,OACE,EAAAO,QAAA,cAAC,OAAI,UAAWF,EAAkB,GAAGD,EAAM,cAAaH,GACrDE,CACH,CAEJ","names":["TimelineWrapper_exports","__export","Timeline","__toCommonJS","import_react","import_classnames","props","className","testId","attributes","children","rest","timelineWrapper","classnames","React"]}