Rev 2268 | Rev 3166 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react'
import { Button as MuiButton, styled } from '@mui/material'
const AppButton = styled(MuiButton)(() => ({
overflow: 'visible'
}))
const Button = ({
children,
onClick,
fullWidth,
styles = {},
color = 'info',
...props
}) => {
return (
<AppButton
color={color}
onClick={onClick}
fullWidth={false}
sx={styles}
{...props}
>
{children}
</AppButton>
)
}
export default Button