import t,{forwardRef as e}from"react";import{getTestId as a}from"../../../../tests/testIds.js";import{ComponentDefaultTestId as o}from"../../../../tests/constants.js";import{Flex as r}from"@vibe/layout/mockedClassNames";import{Button as s}from"@vibe/button/mockedClassNames";import i from"../LegacyModalFooter.js";var m=e((function(e,m){var n=e.primaryButtonText,l=e.secondaryButtonText,d=e.disablePrimaryButton,c=e.onPrimaryButtonClick,u=e.onSecondaryButtonClick,p=e.id;return t.createElement(i,{id:p,className:e.className,"data-testid":e["data-testid"]||a(o.MODAL_FOOTER_BUTTONS,p)},t.createElement(r,{justify:"end",gap:"small"},l&&t.createElement(s,{onClick:u,kind:"tertiary"},l),t.createElement(s,{onClick:c,disabled:d},n)))}));Object.assign(m,{displayName:"ModalFooterButtons"});export{m as default};
//# sourceMappingURL=LegacyModalFooterButtons.js.map
