Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3459 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3459 Rev 3465
Línea 1... Línea 1...
1
import React from 'react';
1
import React from 'react';
-
 
2
import { useSelector } from 'react-redux';
2
import { Search } from '@mui/icons-material';
3
import { Search } from '@mui/icons-material';
Línea 3... Línea 4...
3
 
4
 
4
import { Input } from './inputs';
-
 
Línea 5... Línea 5...
5
import { useSelector } from 'react-redux';
5
import { Input } from './inputs';
6
 
6
 
Línea 7... Línea 7...
7
export function SearchBar({ onChange = () => {}, color = 'secondary' }) {
7
export function SearchBar({ onChange = () => {}, color = 'secondary' }) {
Línea 12... Línea 12...
12
      icon={<Search />}
12
      icon={<Search />}
13
      onChange={(e) => onChange(e.target.value)}
13
      onChange={(e) => onChange(e.target.value)}
14
      placeholder={labels.search}
14
      placeholder={labels.search}
15
      variant='search'
15
      variant='search'
16
      color={color}
16
      color={color}
17
      sx={{ mb: 2 }}
-
 
18
    />
17
    />
19
  );
18
  );
20
}
19
}