ref: change auth setting in Login Screen

This commit is contained in:
Luis Felipe Cadavid 2024-09-24 17:35:35 -05:00
parent 9d31ea245c
commit 12c90ff120
26 changed files with 1149 additions and 99 deletions

View file

@ -8,9 +8,10 @@ interface InputProps {
value: string
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void
autocomplete?: string
disabled?: boolean
}
const Input: React.FC<InputProps> = ({ type, placeholder, value, onChange, autocomplete }) => {
const Input: React.FC<InputProps> = ({ type, placeholder, value, onChange, autocomplete, disabled }) => {
return (
<TextField
type={type}
@ -20,6 +21,7 @@ const Input: React.FC<InputProps> = ({ type, placeholder, value, onChange, autoc
autoComplete={autocomplete}
fullWidth
variant="outlined"
disabled={disabled}
/>
)
}