@stanfordspezi/spezi-web-design-system
Version:
Stanford Biodesign Digital Health Spezi Web Design System
7 lines (6 loc) • 774 B
JavaScript
;const e=require("react/jsx-runtime"),i=require("./Badge-1vCAySpz.js"),n=require("./createLucideIcon-DpotSgUx.js");/**
* @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 s=[["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"}]],a=n.createLucideIcon("circle-alert",s),l=({children:r,entityName:c,...t})=>e.jsxs(i.Badge,{size:"lg",variant:"destructiveLight",role:"alert",...t,children:[e.jsx(a,{}),e.jsx("span",{children:r??e.jsxs(e.Fragment,{children:["Fetching ",c," failed. Please try again later."]})})]});exports.ErrorState=l;