diff --git a/components/Input.tsx b/components/Input.tsx index 1b9b8a0..86ac6e7 100644 --- a/components/Input.tsx +++ b/components/Input.tsx @@ -7,6 +7,7 @@ interface Props { type: 'text' | 'email'; variant: 'small' | 'big'; name: string; + value: string; onChange?: (event: React.ChangeEvent) => void; } @@ -31,6 +32,7 @@ const Input: FC = ({ type = 'text', variant = 'small', name, + value, placeholder, className, onChange @@ -42,6 +44,7 @@ const Input: FC = ({ dark={dark} type={type} name={name} + value={value} placeholder={placeholder} className={className} onChange={onChange} @@ -50,6 +53,7 @@ const Input: FC = ({