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
26 lines
777 B
TypeScript
26 lines
777 B
TypeScript
import FormControl from '@mui/material/FormControl';
|
|
import InputAdornment from '@mui/material/InputAdornment';
|
|
import OutlinedInput from '@mui/material/OutlinedInput';
|
|
import SearchRoundedIcon from '@mui/icons-material/SearchRounded';
|
|
|
|
export default function Search() {
|
|
return (
|
|
<FormControl sx={{ width: { xs: '100%', md: '25ch' } }} variant="outlined">
|
|
<OutlinedInput
|
|
size="small"
|
|
id="search"
|
|
placeholder="Search…"
|
|
sx={{ flexGrow: 1 }}
|
|
startAdornment={
|
|
<InputAdornment position="start" sx={{ color: 'text.primary' }}>
|
|
<SearchRoundedIcon fontSize="small" />
|
|
</InputAdornment>
|
|
}
|
|
inputProps={{
|
|
'aria-label': 'search',
|
|
}}
|
|
/>
|
|
</FormControl>
|
|
);
|
|
}
|