import t from"react";import o from"./ModalTopActions.module.scss.js";import e from"../../IconButton/IconButton.js";import{CloseMedium as r}from"@vibe/icons";import{ComponentDefaultTestId as a}from"../../../tests/constants.js";var i={dark:"fixed-dark",light:"fixed-light"},n=function(n){var s=n.renderAction,c=n.closeButtonAriaLabel,m=n.onClose,l=i[n.theme]||"primary";return t.createElement("div",{className:o.actions,"data-no-autofocus":!0},"function"==typeof s?s(l):s,t.createElement(e,{"data-testid":a.MODAL_NEXT_CLOSE_BUTTON,icon:r,onClick:m,size:"small",kind:"tertiary",color:l,ariaLabel:c}))};export{n as default};
//# sourceMappingURL=ModalTopActions.js.map
