import * as React from 'react'; import Box from '@mui/material/Box'; import IconButton from '@mui/material/IconButton'; import Input from '@mui/material/Input'; import FilledInput from '@mui/material/FilledInput'; import OutlinedInput from '@mui/material/OutlinedInput'; import InputLabel from '@mui/material/InputLabel'; import InputAdornment from '@mui/material/InputAdornment'; import FormHelperText from '@mui/material/FormHelperText'; import FormControl from '@mui/material/FormControl'; import TextField from '@mui/material/TextField'; import Visibility from '@mui/icons-material/Visibility'; import VisibilityOff from '@mui/icons-material/VisibilityOff'; export default function InputAdornments() { const [showPassword, setShowPassword] = React.useState(false); const handleClickShowPassword = () => setShowPassword((show) => !show); const handleMouseDownPassword = (event) => { event.preventDefault(); }; const handleMouseUpPassword = (event) => { event.preventDefault(); }; return (
kg, }, }} /> kg} aria-describedby="outlined-weight-helper-text" inputProps={{ 'aria-label': 'weight', }} /> Weight Password {showPassword ? : } } label="Password" /> Amount $} label="Amount" />
kg, }, }} variant="filled" /> kg} aria-describedby="filled-weight-helper-text" inputProps={{ 'aria-label': 'weight', }} /> Weight Password {showPassword ? : } } /> Amount $} />
kg, }, }} variant="standard" /> kg} aria-describedby="standard-weight-helper-text" inputProps={{ 'aria-label': 'weight', }} /> Weight Password {showPassword ? : } } /> Amount $} />
); }