import { c } from "react-compiler-runtime";
import React, { forwardRef } from "react";
import { Card, makeStyles } from "@material-ui/core";
//#region src/UI/surfaces/cards/fluentCards/FluentCard.jsx
const useStyles = makeStyles({ root: {} }, { name: "FluentCard" });
/**
* A variant of <Card> that uses a square Fluent UI card style
*/
const FluentCard = forwardRef((props, ref) => {
	const $ = c(8);
	const classes = useStyles(props);
	let children;
	let other;
	if ($[0] !== props) {
		({children, ...other} = props);
		$[0] = props;
		$[1] = children;
		$[2] = other;
	} else {
		children = $[1];
		other = $[2];
	}
	let t0;
	if ($[3] !== children || $[4] !== classes || $[5] !== other || $[6] !== ref) {
		t0 = /* @__PURE__ */ React.createElement(Card, {
			ref,
			square: true,
			...other,
			classes
		}, children);
		$[3] = children;
		$[4] = classes;
		$[5] = other;
		$[6] = ref;
		$[7] = t0;
	} else t0 = $[7];
	return t0;
});
FluentCard.displayName = "FluentCard";
//#endregion
export { FluentCard };

//# sourceMappingURL=FluentCard.mjs.map