UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

29 lines (28 loc) 615 B
import { jsxs as r, jsx as e, Fragment as l } from "react/jsx-runtime"; import { B as o } from "./Badge-98kREz_v.mjs"; import s from "./circle-alert-B9UUgLGa.mjs"; const m = ({ children: t, entityName: a, ...i }) => /* @__PURE__ */ r( o, { "data-slot": "error-state", size: "lg", variant: "destructiveLight", role: "alert", ...i, children: [ /* @__PURE__ */ e(s, {}), /* @__PURE__ */ e("span", { children: t ?? /* @__PURE__ */ r(l, { children: [ "Fetching ", a, " failed. Please try again later." ] }) }) ] } ); export { m as E };