synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
30 lines (29 loc) • 622 B
JavaScript
import { jsx as o } from "react/jsx-runtime";
import { Typography as l } from "@mui/material";
import s from "./ComponentCollapse.js";
function c({
text: n,
defaultVisible: t,
textVariant: r = "smallLink",
textSx: e,
textContainerSx: p,
collapseBoxSx: m,
iconSx: a,
children: i
}) {
return /* @__PURE__ */ o(
s,
{
component: /* @__PURE__ */ o(l, { variant: r, sx: e, children: n }),
componentContainerSx: p,
defaultVisible: t,
collapseBoxSx: m,
iconSx: a,
children: i
}
);
}
export {
c as default
};
//# sourceMappingURL=TextToComponentCollapse.js.map