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

44 lines (43 loc) 1.29 kB
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