'use client' import { useTranslation } from 'react-i18next' import { RiCloseLine } from '@remixicon/react' import s from './style.module.css' import cn from '@/utils/classnames' import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' import { AlertTriangle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' type ConfirmModalProps = { show: boolean onConfirm?: () => void onClose: () => void } const ConfirmModal = ({ show, onConfirm, onClose }: ConfirmModalProps) => { const { t } = useTranslation() return ( { }} >
{t('tools.createTool.confirmTitle')}
{t('tools.createTool.confirmTip')}
) } export default ConfirmModal