import { c } from "react-compiler-runtime";
import React from "react";
import { TableRow } from "@material-ui/core";
//#region src/UI/dataDisplay/FluentDataTable/FluentRow/index.tsx
const FluentRow = (props) => {
	const $ = c(13);
	let children;
	let className;
	let onClick;
	let otherProps;
	if ($[0] !== props) {
		({className, children, onClick, ...otherProps} = props);
		$[0] = props;
		$[1] = children;
		$[2] = className;
		$[3] = onClick;
		$[4] = otherProps;
	} else {
		children = $[1];
		className = $[2];
		onClick = $[3];
		otherProps = $[4];
	}
	const t0 = onClick || void 0;
	let t1;
	if ($[5] !== onClick) {
		t1 = onClick ? { cursor: "pointer" } : void 0;
		$[5] = onClick;
		$[6] = t1;
	} else t1 = $[6];
	let t2;
	if ($[7] !== children || $[8] !== className || $[9] !== otherProps || $[10] !== t0 || $[11] !== t1) {
		t2 = /* @__PURE__ */ React.createElement(TableRow, {
			className,
			onClick: t0,
			...otherProps,
			style: t1
		}, children);
		$[7] = children;
		$[8] = className;
		$[9] = otherProps;
		$[10] = t0;
		$[11] = t1;
		$[12] = t2;
	} else t2 = $[12];
	return t2;
};
//#endregion
export { FluentRow as default };

//# sourceMappingURL=index.mjs.map