UNPKG

@anoki/fse-ui

Version:

FSE UI components library

26 lines (25 loc) 1.1 kB
import { j as s } from "./index.es244.js"; import './components/navigations/BannerNewPortal/BannerNewPortal.css';/* empty css */ import { Link as l } from "./index.es99.js"; import { Close as o } from "./index.es161.js"; import { Info as c } from "./index.es200.js"; const x = ({ title: r, subtitle: t, link: i, onClose: e }) => /* @__PURE__ */ s.jsxs("blockquote", { className: "styled-banner", children: [ e && /* @__PURE__ */ s.jsx("div", { className: "close-icon", onClick: e, children: /* @__PURE__ */ s.jsx(o, { width: 32, height: 32 }) }), /* @__PURE__ */ s.jsxs("div", { className: "container", children: [ /* @__PURE__ */ s.jsx(c, { color: "primary", width: 32, height: 32 }), /* @__PURE__ */ s.jsxs("div", { className: "right-container", children: [ /* @__PURE__ */ s.jsx("h4", { className: "title", children: r }), /* @__PURE__ */ s.jsx("p", { className: "subtitle", children: t }), /* @__PURE__ */ s.jsx(l, { title: i.title, src: i.link }) ] }) ] }) ] }); export { x as BannerNewPortal }; //# sourceMappingURL=index.es22.js.map