diff --git a/.DS_Store b/.DS_Store index fa219f0..fa93c62 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/src/.DS_Store b/src/.DS_Store index a136cd4..d05c6eb 100644 Binary files a/src/.DS_Store and b/src/.DS_Store differ diff --git a/src/assets/.DS_Store b/src/assets/.DS_Store new file mode 100644 index 0000000..aa7114f Binary files /dev/null and b/src/assets/.DS_Store differ diff --git a/src/assets/images/logo_orig.svg b/src/assets/images/logo_orig.svg new file mode 100644 index 0000000..a764edd --- /dev/null +++ b/src/assets/images/logo_orig.svg @@ -0,0 +1,45 @@ + \ No newline at end of file diff --git a/src/components/ModalConfrim.tsx b/src/components/ModalConfrim.tsx new file mode 100644 index 0000000..78f55ab --- /dev/null +++ b/src/components/ModalConfrim.tsx @@ -0,0 +1,68 @@ +import { FC, useState } from 'react' +import DefaulModal from './DefaulModal' +import { useTranslation } from 'react-i18next' +import Button from './Button' +import Textarea from './Textarea' + +type Props = { + isLoading?: boolean, + close: () => void, + isOpen: boolean, + onConfrim: (text?: string) => void, + label?: string, + isHasDescription?: boolean +} + +const ModalConfrim: FC = (props: Props) => { + + const { t } = useTranslation('global') + const [description, setDescription] = useState('') + + return ( + +
+
+ { + props.label ? + props.label + : + t('confrim.content') + } + + { + props.isHasDescription && +
+