Refactor and fix stashbox submit dialog (#4355)

This commit is contained in:
DingDongSoLong4
2023-12-12 02:45:52 +02:00
committed by GitHub
parent d37de0e49b
commit 74ddfa47e9
5 changed files with 179 additions and 128 deletions

View File

@@ -1,12 +1,13 @@
import React from "react";
import { Button, Modal, Spinner, ModalProps } from "react-bootstrap";
import { ButtonVariant } from "react-bootstrap/types";
import { Icon } from "./Icon";
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
import { FormattedMessage } from "react-intl";
interface IButton {
text?: string;
variant?: "danger" | "primary" | "secondary";
variant?: ButtonVariant;
onClick?: () => void;
}