setting and ui change password

This commit is contained in:
hamid zarghami
2025-02-03 14:37:40 +03:30
parent d7a004a41a
commit 1db7653cb2
10 changed files with 285 additions and 169 deletions
+10
View File
@@ -2,6 +2,7 @@ import { FC, InputHTMLAttributes, useState } from 'react'
import { clx } from '../helpers/utils';
import EyeIcon from '../assets/images/eye.svg'
import { SearchNormal } from 'iconsax-react';
import Error from './Error';
type Variant = "floating_outlined" | "primary" | "search";
@@ -46,7 +47,16 @@ const Input: FC<Props> = (props: Props) => {
props.variant === 'search' &&
<SearchNormal size={20} color='#8C90A3' className='absolute top-0 w-5 bottom-0 my-auto right-3' />
}
</div>
{
props.error_text &&
<Error
errorText={props.error_text}
/>
}
</div>
)
}