{"version":3,"file":"TableBody.cjs","sources":["../../../../src/components/table/TableBody.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport { TableSectionContextProvider } from \"./tableSectionContext.js\";\nimport type { TableBodyProps } from \"./types.js\";\n\nconst TableBody = forwardRef<HTMLTableSectionElement, TableBodyProps>(\n    (props, ref) => {\n        return (\n            <TableSectionContextProvider\n                state={{\n                    isTableHead: false,\n                    isTableBody: true,\n                    isTableFooter: false,\n                }}\n            >\n                <tbody {...props} ref={ref} />\n            </TableSectionContextProvider>\n        );\n    },\n);\n\nTableBody.displayName = \"TableBody\";\n\nexport { TableBody };\n"],"names":["TableBody","forwardRef","props","ref","jsx","TableSectionContextProvider","state","isTableHead","isTableBody","isTableFooter","children","displayName"],"mappings":"+KAIMA,EAAYC,EAAAA,WACd,CAACC,EAAOC,IAEAC,EAAAA,IAACC,EAAAA,4BAAA,CACGC,MAAO,CACHC,aAAa,EACbC,aAAa,EACbC,eAAe,GAGnBC,SAAAN,EAAAA,IAAC,QAAA,IAAUF,EAAOC,IAAAA,OAMlCH,EAAUW,YAAc"}