{"version":3,"sources":["../../src/utils/handleContainerChildren.tsx"],"names":["jsx"],"mappings":";;;;;AAGA,IAAM,uBAAA,GAA0B,CAC9B,SAAA,EACA,QAEA,KAAA,SAAA,KAAc,QAAY,IAAA,QAAA,KAAa,CACrC,CAAA,mBAAAA,cAAA,CAAC,SAAW,EAAA,EAAA,QAAA,EAAS,CAErB,GAAA,QAAA;AAGJ,IAAO,+BAAQ,GAAA","file":"chunk-ZMAPPUCA.cjs","sourcesContent":["import type { ReactNode } from 'react';\nimport type { ContainerType } from '../types';\n\nconst handleContainerChildren = (\n  Container: ContainerType | undefined,\n  children: ReactNode\n) =>\n  Container && (children || children === 0) ? (\n    <Container>{children}</Container>\n  ) : (\n    children\n  );\n\nexport default handleContainerChildren;\n"]}