{"version":3,"sources":["../../src/Megamenu/MegamenuFooter.tsx"],"sourcesContent":["import React, { FC, HTMLAttributes, PropsWithChildren } from 'react';\nimport classNames from 'classnames';\n\nexport interface MegamenuFooterProps extends HTMLAttributes<HTMLDivElement> {\n  /** Classi aggiuntive da usare per il componente Megamenu Footer */\n  className?: string;\n  vertical?: boolean;\n}\n\nexport const MegamenuFooter: FC<MegamenuFooterProps> & {\n  Item: typeof Item;\n} = ({ className, children, vertical, ...attributes }) => {\n  const classes = classNames(className, `it-footer-link-wrapper${vertical ? '-vertical' : ''}`);\n  return (\n    <div className={classes} {...attributes}>\n      {children}\n    </div>\n  );\n};\n\nconst Item: FC<PropsWithChildren<HTMLAnchorElement>> = ({ href, children }) => {\n  return (\n    <a href={href || '#'} className='it-footer-link'>\n      {children}\n    </a>\n  );\n};\n\nMegamenuFooter.Item = Item;\n"],"mappings":"0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,oBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA6D,sBAC7DC,EAAuB,2BAQVH,EAET,CAAC,CAAE,UAAAI,EAAW,SAAAC,EAAU,SAAAC,EAAU,GAAGC,CAAW,IAAM,CACxD,IAAMC,KAAU,EAAAC,SAAWL,EAAW,yBAAyBE,EAAW,YAAc,EAAE,EAAE,EAC5F,OACE,EAAAI,QAAA,cAAC,OAAI,UAAWF,EAAU,GAAGD,GAC1BF,CACH,CAEJ,EAEMM,EAAiD,CAAC,CAAE,KAAAC,EAAM,SAAAP,CAAS,IAErE,EAAAK,QAAA,cAAC,KAAE,KAAME,GAAQ,IAAK,UAAU,kBAC7BP,CACH,EAIJL,EAAe,KAAOW","names":["MegamenuFooter_exports","__export","MegamenuFooter","__toCommonJS","import_react","import_classnames","className","children","vertical","attributes","classes","classNames","React","Item","href"]}