Rev 3462 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react';
import { Card as MuiCard, styled } from '@mui/material';
const StyledCard = styled(MuiCard)(({ theme }) => ({
borderRadius: 0,
[theme.breakpoints.up('sm')]: {
borderRadius: theme.shape.borderRadius
}
}));
export function Card({ children, styles, ...props }) {
return (
<StyledCard sx={styles} {...props}>
{children}
</StyledCard>
);
}