{"version":3,"sources":["../src/components/Box/index.tsx"],"names":["React","jsx","_Box","className","component","style","props","ref","Box"],"mappings":"AAAA,OAAOA,MAAW,QAgBT,cAAAC,MAAA,oBALF,IAAMC,EAAOF,EAAM,WAGxB,CAAC,CAAE,UAAAG,EAAW,UAAAC,EAAW,MAAAC,EAAO,GAAGC,CAAM,EAAGC,IAErCN,EADSG,GAAa,MACrB,CAAQ,IAAKG,EAAK,UAAWJ,EAAW,MAAOE,EAAQ,GAAGC,EAAO,CAC1E,EAEDJ,EAAK,YAAc,MAEZ,IAAMM,EAAkDN","sourcesContent":["import React from \"react\";\n\nimport { PolymorphicProps } from \"../../types\";\nimport { createPolymorphicComponent } from \"../../utils/createPolymorphicComponent\";\n\nexport type BoxProps = {\n  className?: string;\n  children?: React.ReactNode;\n  style?: React.CSSProperties;\n};\n\nexport const _Box = React.forwardRef<\n  HTMLDivElement,\n  BoxProps & PolymorphicProps\n>(({ className, component, style, ...props }, ref) => {\n  const Element = component || \"div\";\n  return <Element ref={ref} className={className} style={style} {...props} />;\n});\n\n_Box.displayName = \"Box\";\n\nexport const Box = createPolymorphicComponent<\"div\", BoxProps>(_Box);\n"]}