@anoki/fse-ui
Version:
FSE UI components library
25 lines (24 loc) • 897 B
JavaScript
import { j as s } from "./index.es180.js";
import './components/ui/Callout/Callout.css';/* empty css */
import { ErrorExagon as a } from "./index.es157.js";
import { Info as o } from "./index.es153.js";
const n = {
info: /* @__PURE__ */ s.jsx(o, { color: "primary" }),
warning: /* @__PURE__ */ s.jsx(o, { color: "warning" }),
danger: /* @__PURE__ */ s.jsx(a, {}),
success: /* @__PURE__ */ s.jsx(o, { color: "status-success" })
}, m = ({
title: c,
description: l,
variant: r = "info"
}) => /* @__PURE__ */ s.jsxs("div", { className: `callout callout-${r} p-x40`, children: [
/* @__PURE__ */ s.jsxs("div", { className: "callout-header px-x40", children: [
n[r],
/* @__PURE__ */ s.jsx("span", { children: c })
] }),
/* @__PURE__ */ s.jsx("div", { className: "callout-body", children: l })
] });
export {
m as Callout
};
//# sourceMappingURL=index.es86.js.map