Rev 2266 | Rev 3160 | 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,
variant = 'text',
styles = {},
...props
}) => {
return (
<AppButton
variant={variant}
onClick={onClick}
fullWidth={false}
sx={styles}
{...props}
>
{children}
</AppButton>
)
}
export default Button