Files
react-test/docs/data/material/components/text-fields/TextFieldHiddenLabel.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
601 B
TypeScript
Raw Normal View History

2025-12-12 14:26:25 +09:00
import Stack from '@mui/material/Stack';
import TextField from '@mui/material/TextField';
export default function TextFieldHiddenLabel() {
return (
<Stack
component="form"
sx={{ width: '25ch' }}
spacing={2}
noValidate
autoComplete="off"
>
<TextField
hiddenLabel
id="filled-hidden-label-small"
defaultValue="Small"
variant="filled"
size="small"
/>
<TextField
hiddenLabel
id="filled-hidden-label-normal"
defaultValue="Normal"
variant="filled"
/>
</Stack>
);
}