import { toast } from 'react-toastify'; import Modal from '../../components/Common/Modal'; import { CstType } from '../../utils/models'; import { useState } from 'react'; interface CreateCstModalProps { show: boolean toggle: () => void onCreate: (type: CstType) => void } function CreateCstModal({show, toggle, onCreate}: CreateCstModalProps) { const [validated, setValidated] = useState(false); const handleSubmit = () => { toast.info('Создание конституент'); }; return (

Выбор типа конституенты

Добавить после выбранной или в конец

) } export default CreateCstModal;