@anoki/fse-ui
Version:
FSE UI components library
42 lines (41 loc) • 1.21 kB
JavaScript
import { j as e } from "./index.es278.js";
import { Avatars as i } from "./index.es30.js";
import './components/ui/DelegationHomeBanner/DelegationHomeBanner.css';/* empty css */
import { Col as n } from "./index.es82.js";
import { Row as a } from "./index.es219.js";
import { ArrowLink as m } from "./index.es21.js";
function f({
users: r,
title: o = "",
linkLabel: t = "",
onChangeProfileClick: s
}) {
return /* @__PURE__ */ e.jsxs(
n,
{
br: "x4",
gap: "x16",
className: "delegation-home-banner bg-lightblue-a03 shadow",
children: [
/* @__PURE__ */ e.jsx("h3", { className: "ui-banner-title text-slate-20 fs-4 fw-semibold", children: o }),
/* @__PURE__ */ e.jsxs(a, { justifyContent: "space-between", children: [
/* @__PURE__ */ e.jsx(i, { users: r, maxVisible: 4 }),
/* @__PURE__ */ e.jsx(
m,
{
arrowVisible: !0,
asButton: !0,
onClick: s,
className: "cursor-pointer",
children: t
}
)
] })
]
}
);
}
export {
f as DelegationHomeBanner
};
//# sourceMappingURL=index.es102.js.map