Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1569 | Rev 2163 | 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'
2
import { Button as MuiButton } from '@mui/material'
3
import styled from 'styled-components'
930 stevensc 4
 
2162 stevensc 5
const AppButton = styled(MuiButton)(() => ({
6
  overflow: 'visible'
7
}))
8
 
9
const Button = ({
10
  children,
11
  variant = 'contained',
12
  onClick,
13
  fullWidth = false,
14
  ...props
15
}) => {
16
  return (
17
    <AppButton {...props} variant={variant} onClick={onClick} fullWidth={false}>
18
      {children}
19
    </AppButton>
20
  )
21
}
22
 
1567 stevensc 23
export default Button