UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

29 lines (28 loc) 953 B
import { jsxs as e, jsx as r, Fragment as a } from "react/jsx-runtime"; import { B as l } from "./Badge-CBf8Bl0F.mjs"; import { c as n } from "./createLucideIcon-C8GTh_Qx.mjs"; /** * @license lucide-react v0.488.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ const o = [ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }], ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }], ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }] ], s = n("circle-alert", o), x = ({ children: t, entityName: c, ...i }) => /* @__PURE__ */ e(l, { size: "lg", variant: "destructiveLight", role: "alert", ...i, children: [ /* @__PURE__ */ r(s, {}), /* @__PURE__ */ r("span", { children: t ?? /* @__PURE__ */ e(a, { children: [ "Fetching ", c, " failed. Please try again later." ] }) }) ] }); export { x as E };