UNPKG

@rws-aoa/react-library

Version:

RWS AOA Design System

24 lines (23 loc) 814 B
import { jsx as n } from "react/jsx-runtime"; import { c } from "../../../chunks/compiler-runtime.hDcrsMwn.js"; import { Close as s } from "@mui/icons-material"; import { AoaIconButton as m } from "../../atoms/icon-button/IconButton.js"; function b(r) { const o = c.c(4), { closeAction: i } = r; let t; o[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ n(s, {}), o[0] = t) : t = o[0]; let e; o[1] === Symbol.for("react.memo_cache_sentinel") ? (e = { position: "absolute", right: 8, top: 8 }, o[1] = e) : e = o[1]; let l; return o[2] !== i ? (l = /* @__PURE__ */ n(m, { icon: t, inline: !0, label: "Modaal sluiten", onClick: i, sx: e }), o[2] = i, o[3] = l) : l = o[3], l; } export { b as AoaModalCloseButton }; //# sourceMappingURL=ModalCloseButton.js.map