import { FC, SVGProps } from 'react'; import { Button, Modal } from '@gear-js/ui'; import ApplySVG from '@/shared/assets/images/actions/apply.svg?react'; import CloseSVG from '@/shared/assets/images/actions/close.svg?react'; import styles from './confirm-modal.module.scss'; type Props = { title: string; text: string; confirmText: string; cancelText?: string; close: () => void; onSubmit: () => void; confirmIcon?: FC>; isLoading?: boolean; }; const ConfirmModal = ({ title, text, close, onSubmit, confirmText, confirmIcon, isLoading }: Props) => { return (

{text}

); }; export { ConfirmModal };