Refactor input arch (#1982)

This commit is contained in:
Charles Bochet
2023-10-12 17:41:50 +02:00
committed by GitHub
parent 09fd5b6454
commit 6b990c8501
47 changed files with 312 additions and 523 deletions

View File

@ -6,7 +6,7 @@ import { motion } from 'framer-motion';
import { MainButton } from '@/ui/button/components/MainButton';
import { IconBrandGoogle } from '@/ui/icon';
import { TextInputSettings } from '@/ui/input/text/components/TextInputSettings';
import { TextInput } from '@/ui/input/components/TextInput';
import { AnimatedEaseIn } from '@/ui/utilities/animation/components/AnimatedEaseIn';
import { Logo } from '../../components/Logo';
@ -132,7 +132,7 @@ export const SignInUpForm = () => {
fieldState: { error },
}) => (
<StyledInputContainer>
<TextInputSettings
<TextInput
autoFocus
value={value}
placeholder="Email"
@ -170,7 +170,7 @@ export const SignInUpForm = () => {
fieldState: { error },
}) => (
<StyledInputContainer>
<TextInputSettings
<TextInput
autoFocus
value={value}
type="password"