+ {typeVersions['image'] &&
+ (typeVersions['image'].length === 0 ||
+ typeVersions['image'].includes(currentVersion)) && (
+ <>
+ {!blocked && (
+
)}
-
-
- ),
- startAdornment: !desktop && (
-
-
-
- ),
- }}
- />
+
+ >
+ )}
+ {!disabled && !blocked && (
+
+ )}
+
+
)
}
@@ -0,0 +1 @@
+export * from './ui'
\ No newline at end of file
@@ -2,7 +2,7 @@ import React, { useState } from 'react'
import { useCookies } from 'react-cookie'
import { useForm } from 'react-hook-form'
import { SubmitErrorHandler, SubmitHandler } from 'react-hook-form/dist/types/form'
-import { Button, Checkbox, TextField } from '@mui/material'
+import { Button, Checkbox, InputAdornment, TextField } from '@mui/material'
import Box from '@mui/material/Box'
import CircularProgress from '@mui/material/CircularProgress'
import Typography from '@mui/material/Typography'
@@ -20,6 +20,8 @@ import { InputStyleDark, InputStyleLight } from '#/shared'
import { API_URL } from '#/shared/lib/constants/constants'
import { useShowData } from '#/shared/lib/hooks'
import { useThemeAndDevice } from '#/shared/lib/hooks'
+import OpenedEyeSvg from '#/assets/svg/opened-eye.svg?react'
+import ClosedEyeSvg from '#/assets/svg/closed-eye.svg?react'
interface IRegisterEmailFormProps {
successLogin: () => void
@@ -41,14 +43,16 @@ export const RegisterEmailForm: React.FC