import { jsxs as o, jsx as c } from "react/jsx-runtime";
import { t as i } from "../../classix-DG18itHa.js";
import { Button as s } from "../button/index.js";
import '../../assets/index13.css';const v = "_banner_14108_13", _ = "_visible_14108_34", n = {
  banner: v,
  visible: _
}, m = ({
  button: t,
  message: a,
  onClick: e,
  onDismiss: r,
  visible: b = !1
}) => {
  const l = () => {
    e == null || e(), r == null || r();
  };
  return /* @__PURE__ */ o("div", { "aria-live": "assertive", className: i(n.banner, b && n.visible), "data-component": "banner", children: [
    a,
    /* @__PURE__ */ c(s, { onClick: l, children: t })
  ] });
};
export {
  m as Banner
};
//# sourceMappingURL=index.js.map
