import { c } from "react-compiler-runtime";
import React from "react";
import { TableBody, useTheme } from "@material-ui/core";
//#region src/UI/dataDisplay/FluentDataTable/FluentBody/index.tsx
const FluentBody = (props) => {
	const $ = c(6);
	const theme = useTheme();
	const t0 = props?.background || theme.palette.background.paper;
	const t1 = props?.style;
	let t2;
	if ($[0] !== t0 || $[1] !== t1) {
		t2 = {
			background: t0,
			...t1
		};
		$[0] = t0;
		$[1] = t1;
		$[2] = t2;
	} else t2 = $[2];
	const t3 = props?.children;
	let t4;
	if ($[3] !== t2 || $[4] !== t3) {
		t4 = /* @__PURE__ */ React.createElement(TableBody, { style: t2 }, t3);
		$[3] = t2;
		$[4] = t3;
		$[5] = t4;
	} else t4 = $[5];
	return t4;
};
//#endregion
export { FluentBody as default };

//# sourceMappingURL=index.mjs.map