Rev 2909 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react'
import { Box, styled } from '@mui/material'
const MuiRow = styled(Box)(({ theme }) => ({
display: 'flex',
flexWrap: 'wrap',
gap: theme.spacing(0.5)
}))
export default function Row({
children,
styles,
direction = 'row',
gap = 0.5,
...props
}) {
return (
<MuiRow sx={styles} {...props} flexDirection={direction} gap={gap}>
{children}
</MuiRow>
)
}