import Search from '@mui/icons-material/Search' import { InputAdornment, TextField } from '@mui/material' /** A small search box for a toolbar; onChange gets the text as typed. */ export default function SearchField(props: { value: string; onChange: (value: string) => void }) { return ( props.onChange(event.target.value)} sx={{ width: 220, flexShrink: 0 }} slotProps={{ input: { startAdornment: } }} /> ) }