fixed/wms-13 - Component update with code (#43)
* fixed/wms-13 - Component update with code * Update: Linted with comment
This commit is contained in:
26
src/components/SearchKeyword/index.js
Normal file
26
src/components/SearchKeyword/index.js
Normal file
@@ -0,0 +1,26 @@
|
||||
import { TextField, InputAdornment, SvgIcon } from '@mui/material';
|
||||
import Search from 'assets/images/SearchIcon';
|
||||
|
||||
// Note: please add props when integrating
|
||||
function SearchKeyword() {
|
||||
return (
|
||||
<>
|
||||
<TextField
|
||||
fullWidth
|
||||
InputProps={{
|
||||
endAdornment: (
|
||||
<InputAdornment position="end">
|
||||
<SvgIcon fontSize="small" color="action">
|
||||
<Search />
|
||||
</SvgIcon>
|
||||
</InputAdornment>
|
||||
)
|
||||
}}
|
||||
placeholder="Search Keyword"
|
||||
variant="outlined"
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default SearchKeyword;
|
||||
Reference in New Issue
Block a user