UNPKG

@anoki/fse-ui

Version:

FSE UI components library

3 lines (2 loc) 1.47 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Alert/Alert.css');const e=require("./index.cjs180.js");;/* empty css */const x=require("./index.cjs202.js"),c=require("./index.cjs90.js"),s=require("./index.cjs153.js"),u=require("./index.cjs157.js"),l={DEFAULT:"default",INFO:"info",WARNING:"warning",DANGER:"danger",SUCCESS:"success"},a={default:e.jsxRuntimeExports.jsx(s.Info,{color:"primary",width:32,height:32}),info:e.jsxRuntimeExports.jsx(s.Info,{color:"primary",width:32,height:32}),warning:e.jsxRuntimeExports.jsx(s.Info,{color:"warning",width:32,height:32}),danger:e.jsxRuntimeExports.jsx(u.ErrorExagon,{width:32,height:32}),success:e.jsxRuntimeExports.jsx(s.Info,{color:"status-success",width:32,height:32})},j=({title:r,description:n,subtitle:o,link:t,variant:i="default"})=>e.jsxRuntimeExports.jsx("blockquote",{className:`styled-alert alert-${i}`,children:e.jsxRuntimeExports.jsxs("div",{className:"container",children:[a[i],e.jsxRuntimeExports.jsxs("div",{className:"right-container",children:[e.jsxRuntimeExports.jsx("h4",{className:"title",children:r}),e.jsxRuntimeExports.jsx("p",{className:"subtitle",children:o}),e.jsxRuntimeExports.jsx(x.Divider,{bg:"blue-30"}),e.jsxRuntimeExports.jsx("p",{className:"description",children:n}),e.jsxRuntimeExports.jsx(c.Link,{title:t.title,src:t.link})]})]})});exports.Alert=j;exports.AlertVariantEnum=l; //# sourceMappingURL=index.cjs88.js.map