synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
44 lines (43 loc) • 1.29 kB
JavaScript
import { jsx as e, jsxs as n } from "react/jsx-runtime";
import { LargeButton as d } from "../styled/LargeButton.js";
import { Link as c } from "@mui/material";
import _ from "../home_page/ExpandableContent.js";
function x({
description: o,
title: a,
titleIcon: l,
ctaButtonText: r,
ctaButtonURL: i,
cardDeckType: t
}) {
return /* @__PURE__ */ e(_, { title: /* @__PURE__ */ n("div", { className: "CardDeck__Mobile__Header", children: [
/* @__PURE__ */ e("span", { className: "CardDeck__Mobile__Header__icon", children: l }),
/* @__PURE__ */ n("span", { className: "CardDeck__Mobile__Header__Title", children: [
" ",
a,
" "
] })
] }), content: /* @__PURE__ */ n("div", { className: "CardDeck__Mobile__Content", children: [
/* @__PURE__ */ e("p", { children: o }),
t === "b2ai" ? /* @__PURE__ */ e(c, { href: i, underline: "none", children: r }) : /* @__PURE__ */ e(
d,
{
color: "secondary",
variant: "outlined",
href: i,
sx: {
width: "170px",
marginLeft: 0,
fontSize: "14px",
boxShadow: "none",
color: "primary.main"
},
children: r
}
)
] }) });
}
export {
x as default
};
//# sourceMappingURL=CardDeck.Mobile.js.map