mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-20 17:53:55 +00:00
26 lines
516 B
TypeScript
26 lines
516 B
TypeScript
import { Modal } from "@renderer/components";
|
|
import { useTranslation } from "react-i18next";
|
|
|
|
interface BinaryNotFoundModalProps {
|
|
visible: boolean;
|
|
onClose: () => void;
|
|
}
|
|
|
|
export const BinaryNotFoundModal = ({
|
|
visible,
|
|
onClose,
|
|
}: BinaryNotFoundModalProps) => {
|
|
const { t } = useTranslation("binary_not_found_modal");
|
|
|
|
return (
|
|
<Modal
|
|
visible={visible}
|
|
title={t("title")}
|
|
description={t("description")}
|
|
onClose={onClose}
|
|
>
|
|
{t("instructions")}
|
|
</Modal>
|
|
);
|
|
};
|