Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3667 Rev 3719
Línea 1... Línea 1...
1
import React from 'react';
1
import React from 'react';
2
import { Box } from '@mui/material';
2
import { Box } from '@mui/material';
3
 
3
 
4
export const FiltersRow = ({ children }) => {
4
export const FiltersRow = ({ children }) => {
5
  return (
5
  return (
6
    <Box
6
    <Box
7
      sx={{
7
      sx={{
8
        display: 'flex',
8
        display: 'flex',
9
        gap: 0.5,
9
        gap: 0.5,
10
        flexWrap: 'wrap',
10
        flexWrap: 'wrap',
11
        justifyContent: { xs: 'center', sm: 'flex-end' },
11
        justifyContent: { xs: 'center', sm: 'flex-end' },
12
        '& > *:not(button)': {
12
        '& > *:not(button)': {
13
          width: { xs: '100%', md: '200px' }
13
          width: { xs: '100%', md: '200px' }
14
        }
14
        }
15
      }}
15
      }}
16
    >
16
    >
17
      {children}
17
      {children}
18
    </Box>
18
    </Box>
19
  );
19
  );
20
};
20
};