You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 regels
823 B

  1. // material-ui
  2. import { Box, FormControl, InputAdornment, OutlinedInput } from '@mui/material';
  3. // assets
  4. import { SearchOutlined } from '@ant-design/icons';
  5. // ==============================|| HEADER CONTENT - SEARCH ||============================== //
  6. const Search = () => (
  7. <Box sx={{ width: '100%', ml: { xs: 0, md: 1 } }}>
  8. <FormControl sx={{ width: { xs: '100%', md: 224 } }}>
  9. <OutlinedInput
  10. size="small"
  11. id="header-search"
  12. startAdornment={
  13. <InputAdornment position="start" sx={{ mr: -0.5 }}>
  14. <SearchOutlined />
  15. </InputAdornment>
  16. }
  17. aria-describedby="header-search-text"
  18. inputProps={{
  19. 'aria-label': 'weight'
  20. }}
  21. placeholder="Ctrl + K"
  22. />
  23. </FormControl>
  24. </Box>
  25. );
  26. export default Search;