UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

30 lines (29 loc) 622 B
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