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

20 lines (19 loc) 634 B
import { jsxs as l, Fragment as t, jsx as r } from "react/jsx-runtime"; import { Alert as s, AlertTitle as a } from "@mui/material"; const d = ({ message: o, title: e, ...n }) => /* @__PURE__ */ l(t, { children: [ /* @__PURE__ */ r("span", { children: "Note: use FullWidthAlert for alerts with primary, secondary, and close buttons or a global alert." }), /* @__PURE__ */ r("br", {}), /* @__PURE__ */ r("br", {}), /* @__PURE__ */ r(s, { ...n, children: /* @__PURE__ */ l(t, { children: [ e && /* @__PURE__ */ r(a, { children: e }), o ] }) }) ] }); export { d as Alert }; //# sourceMappingURL=MuiAlert.js.map