import { c } from "react-compiler-runtime";
import React from "react";
import { ButtonBase, Paper, makeStyles } from "@material-ui/core";
import PropTypes from "prop-types";
//#region src/componentSystems/multiThreadTimeline/ui/CircleButton.jsx
const useStyles = makeStyles((theme) => ({ root: {
	padding: 12,
	paddingLeft: 13,
	paddingRight: 11,
	borderRadius: 50,
	background: theme.palette.common.white,
	minWidth: 32,
	minHeight: 32
} }));
const CircleButton = (props) => {
	const $ = c(9);
	let children;
	let otherProps;
	if ($[0] !== props) {
		({children, ...otherProps} = props);
		$[0] = props;
		$[1] = children;
		$[2] = otherProps;
	} else {
		children = $[1];
		otherProps = $[2];
	}
	const classes = useStyles(props);
	let t0;
	if ($[3] !== children || $[4] !== classes.root) {
		t0 = /* @__PURE__ */ React.createElement(Paper, {
			className: classes.root,
			elevation: 1
		}, children);
		$[3] = children;
		$[4] = classes.root;
		$[5] = t0;
	} else t0 = $[5];
	let t1;
	if ($[6] !== otherProps || $[7] !== t0) {
		t1 = /* @__PURE__ */ React.createElement(ButtonBase, otherProps, t0);
		$[6] = otherProps;
		$[7] = t0;
		$[8] = t1;
	} else t1 = $[8];
	return t1;
};
CircleButton.propTypes = { children: PropTypes.node };
//#endregion
export { CircleButton };

//# sourceMappingURL=CircleButton.mjs.map