synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
27 lines (26 loc) • 960 B
JavaScript
import { jsx as e, jsxs as o } from "react/jsx-runtime";
import a from "../home_page/ExpandableContent.js";
import { QueryCount as i } from "../QueryCount/QueryCount.js";
import { Button as s } from "@mui/material";
function h({
link: n,
summary: l,
countSql: t,
title: r
}) {
return /* @__PURE__ */ e(a, { title: /* @__PURE__ */ o("div", { className: "Goals__Mobile__Header", children: [
t && /* @__PURE__ */ e("span", { className: "Goals__Mobile__Header__Count", children: /* @__PURE__ */ e(i, { parens: !1, query: { sql: t } }) }),
/* @__PURE__ */ o("span", { className: "Goals__Mobile__Header__Title", children: [
" ",
r,
" "
] })
] }), content: /* @__PURE__ */ o("div", { children: [
/* @__PURE__ */ e("p", { children: l }),
/* @__PURE__ */ e(s, { variant: "contained", color: "secondary", href: n, children: "Explore" })
] }) });
}
export {
h as default
};
//# sourceMappingURL=GoalsV3.Mobile.js.map