Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2167 | Rev 2265 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
2162 stevensc 1
import React from 'react'
2167 stevensc 2
import { Button as MuiButton, styled } from '@mui/material'
930 stevensc 3
 
2162 stevensc 4
const AppButton = styled(MuiButton)(() => ({
5
  overflow: 'visible'
6
}))
7
 
8
const Button = ({
9
  children,
2163 stevensc 10
  variant = 'text',
2162 stevensc 11
  onClick,
12
  fullWidth = false,
13
  ...props
14
}) => {
15
  return (
2168 stevensc 16
    <AppButton variant={variant} onClick={onClick} fullWidth={false} {...props}>
2162 stevensc 17
      {children}
18
    </AppButton>
19
  )
20
}
21
 
1567 stevensc 22
export default Button