import React from "react";
import { Button } from "@material-ui/core";
//#region src/UI/SuccessAction.jsx
const getSuccessAction = (closeSnackbar) => {
	const successAction = (key) => /* @__PURE__ */ React.createElement(Button, {
		color: "secondary",
		size: "small",
		onClick: () => {
			closeSnackbar(key);
		}
	}, "OK");
	return successAction;
};
//#endregion
export { getSuccessAction };

//# sourceMappingURL=SuccessAction.mjs.map