mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
chore: update PasswordInput component
This commit is contained in:
@@ -6,8 +6,10 @@ import { Icon } from '@iconify/react';
|
||||
import TextInput, { TextInputProps } from '@/components/input/TextInput';
|
||||
import Button from '@/components/Button';
|
||||
|
||||
interface PasswordInputProps
|
||||
extends Omit<TextInputProps, 'type' | 'startAdornment' | 'endAdornment'> {}
|
||||
type PasswordInputProps = Omit<
|
||||
TextInputProps,
|
||||
'type' | 'startAdornment' | 'endAdornment'
|
||||
>;
|
||||
|
||||
const PasswordInput = (props: PasswordInputProps) => {
|
||||
const [type, setType] = useState('password');
|
||||
|
||||
Reference in New Issue
Block a user