Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
21 lines
587 B
JavaScript
21 lines
587 B
JavaScript
import Box from '@mui/material/Box';
|
|
import Input from '@mui/material/Input';
|
|
|
|
const ariaLabel = { 'aria-label': 'description' };
|
|
|
|
export default function Inputs() {
|
|
return (
|
|
<Box
|
|
component="form"
|
|
sx={{ '& > :not(style)': { m: 1 } }}
|
|
noValidate
|
|
autoComplete="off"
|
|
>
|
|
<Input defaultValue="Hello world" inputProps={ariaLabel} />
|
|
<Input placeholder="Placeholder" inputProps={ariaLabel} />
|
|
<Input disabled defaultValue="Disabled" inputProps={ariaLabel} />
|
|
<Input defaultValue="Error" error inputProps={ariaLabel} />
|
|
</Box>
|
|
);
|
|
}
|