Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1569 | Rev 2163 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1569 Rev 2162
Línea -... Línea 1...
-
 
1
import React from 'react'
1
import { Button } from '@mui/material'
2
import { Button as MuiButton } from '@mui/material'
-
 
3
import styled from 'styled-components'
-
 
4
 
-
 
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
}
Línea 2... Línea 22...
2
 
22