chore: adjust PasswordField order
This commit is contained in:
parent
2b635e7426
commit
21e5244807
@ -29,14 +29,6 @@ export const PasswordField = (
|
||||
<FormControl>
|
||||
<FormLabel htmlFor="password">Password</FormLabel>
|
||||
<InputGroup>
|
||||
<InputRightElement>
|
||||
<IconButton
|
||||
variant="text"
|
||||
aria-label={isOpen ? "Mask password" : "Reveal password"}
|
||||
icon={isOpen ? <HiEyeOff /> : <HiEye />}
|
||||
onClick={onClickReveal}
|
||||
/>
|
||||
</InputRightElement>
|
||||
<Input
|
||||
id="password"
|
||||
ref={inputRef}
|
||||
@ -46,6 +38,14 @@ export const PasswordField = (
|
||||
required
|
||||
{...props}
|
||||
/>
|
||||
<InputRightElement>
|
||||
<IconButton
|
||||
variant="text"
|
||||
aria-label={isOpen ? "Mask password" : "Reveal password"}
|
||||
icon={isOpen ? <HiEyeOff /> : <HiEye />}
|
||||
onClick={onClickReveal}
|
||||
/>
|
||||
</InputRightElement>
|
||||
</InputGroup>
|
||||
</FormControl>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user