Skip to content
Snippets Groups Projects

Api login

Merged Defendi Alberto requested to merge api-login into dev
10 files
+ 159
10
Compare changes
  • Side-by-side
  • Inline
Files
10
@@ -6,10 +6,12 @@ type Props = {
label: string;
error: boolean;
errorMessage: string;
value: string;
onChange: any;
};
export const InputField: FC<Props> = (props: Props) => {
const { id, label, error, errorMessage } = props;
const { id, label, error, errorMessage, onChange, value } = props;
return (
<TextField
variant="outlined"
@@ -19,6 +21,8 @@ export const InputField: FC<Props> = (props: Props) => {
id={id}
label={label}
name={id}
onChange={onChange}
value={value}
autoComplete={id}
autoFocus
error={error}
Loading