Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

35 lignes
713 B

  1. import PropTypes from 'prop-types';
  2. // material-ui
  3. import { Box } from '@mui/material';
  4. // project import
  5. import MainCard from 'components/MainCard';
  6. // ==============================|| AUTHENTICATION - CARD WRAPPER ||============================== //
  7. const AuthCard = ({ children, ...other }) => (
  8. <MainCard
  9. sx={{
  10. maxWidth: { xs: 400, lg: 475 },
  11. margin: { xs: 2.5, md: 3 },
  12. '& > *': {
  13. flexGrow: 1,
  14. flexBasis: '50%'
  15. }
  16. }}
  17. content={false}
  18. {...other}
  19. border={false}
  20. boxShadow
  21. >
  22. <Box sx={{ p: { xs: 2, sm: 3, md: 4, xl: 5 } }}>{children}</Box>
  23. </MainCard>
  24. );
  25. AuthCard.propTypes = {
  26. children: PropTypes.node
  27. };
  28. export default AuthCard;