import n, { useContext as a } from "react";
import c from "../../button/button.mjs";
import { ModalContext as l } from "../context.mjs";
const r = () => {
  const {
    cancelButtonProps: t,
    cancelTextLocale: o,
    onCancel: e
  } = a(l);
  return /* @__PURE__ */ n.createElement(c, Object.assign({
    onClick: e
  }, t), o);
}, C = r;
export {
  C as default
};
