import { FormControl, InputAdornment, OutlinedInput } from "@mui/material"; import SearchRoundedIcon from '@mui/icons-material/SearchRounded'; export function Search({ value, onChange, onSearch }) { return ( { if (e.key === 'Enter') { onSearch(); } }} startAdornment={ } inputProps={{ 'aria-label': 'search', }} /> ); }