synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
24 lines (23 loc) • 530 B
JavaScript
import { jsx as o } from "react/jsx-runtime";
import e from "../IconSvg/IconSvg.js";
function p(t) {
const { isExpanded: n, ...r } = t;
return /* @__PURE__ */ o("button", { ...r, children: /* @__PURE__ */ o(
e,
{
icon: n ? "minusBoxOutline" : "addBoxOutline",
sx: {
color: "grey.600",
height: "16px",
verticalAlign: "top",
"&:hover": {
color: "grey.700"
}
}
}
) });
}
export {
p as default
};
//# sourceMappingURL=ExpandCollapseButton.js.map