import { c } from "react-compiler-runtime";
import React from "react";
import { Divider, Typography, makeStyles } from "@material-ui/core";
//#region src/UI/dataDisplay/address/AddressListItem.jsx
const useStyles = makeStyles((theme) => ({ divider: {
	marginTop: theme.spacing(1),
	marginBottom: theme.spacing(1)
} }));
const AddressListItem = (t0) => {
	const $ = c(7);
	const { children } = t0;
	const classes = useStyles();
	let t1;
	if ($[0] !== children || $[1] !== classes.divider) {
		t1 = /* @__PURE__ */ React.createElement(Typography, {
			variant: "body2",
			className: classes.divider
		}, children);
		$[0] = children;
		$[1] = classes.divider;
		$[2] = t1;
	} else t1 = $[2];
	let t2;
	if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
		t2 = /* @__PURE__ */ React.createElement(Divider, null);
		$[3] = t2;
	} else t2 = $[3];
	let t3;
	if ($[4] !== classes.root || $[5] !== t1) {
		t3 = /* @__PURE__ */ React.createElement("div", { className: classes.root }, t1, t2);
		$[4] = classes.root;
		$[5] = t1;
		$[6] = t3;
	} else t3 = $[6];
	return t3;
};
//#endregion
export { AddressListItem };

//# sourceMappingURL=AddressListItem.mjs.map