/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-f1f3d22 | Cube Dev Team */
import { tasty } from "../../../../tasty/tasty.js";
import { CloseIcon } from "../../../../icons/CloseIcon.js";
import { Button } from "../../../actions/index.js";
import { memo } from "react";
import { jsx } from "react/jsx-runtime";

//#region src/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.tsx
const CloseButton = tasty(Button, {
	icon: /* @__PURE__ */ jsx(CloseIcon, {}),
	label: "Close the notification",
	qa: "NotificationCloseButton",
	type: "neutral",
	styles: {
		gridArea: "close",
		display: "flex"
	}
});
const NotificationCloseButton = memo(function NotificationCloseButton(props) {
	const { onPress } = props;
	return /* @__PURE__ */ jsx(CloseButton, { onPress });
});

//#endregion
export { NotificationCloseButton };
//# sourceMappingURL=NotificationCloseButton.js.map