refactor(web): remove typescript
This commit is contained in:
@@ -4,18 +4,9 @@ import OutlinedInput from '@mui/material/OutlinedInput';
|
||||
import InputAdornment from '@mui/material/InputAdornment';
|
||||
import FormControl from '@mui/material/FormControl';
|
||||
import SearchIcon from '@mui/icons-material/Search';
|
||||
|
||||
import useFormatMessage from 'hooks/useFormatMessage';
|
||||
|
||||
type SearchInputProps = {
|
||||
onChange?: (event: React.ChangeEvent) => void;
|
||||
};
|
||||
|
||||
export default function SearchInput({
|
||||
onChange,
|
||||
}: SearchInputProps): React.ReactElement {
|
||||
export default function SearchInput({ onChange }) {
|
||||
const formatMessage = useFormatMessage();
|
||||
|
||||
return (
|
||||
<FormControl variant="outlined" fullWidth>
|
||||
<InputLabel htmlFor="search-input">
|
Reference in New Issue
Block a user