Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3166 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3166 Rev 3719
Línea 1... Línea -...
1
import React from 'react'
-
 
2
import { Button as MuiButton, styled } from '@mui/material'
1
export { default } from '@mui/material/Button';
3
 
-
 
4
const AppButton = styled(MuiButton)(() => ({
-
 
5
  overflow: 'visible'
-
 
6
}))
-
 
7
 
-
 
8
const Button = ({
-
 
9
  children,
-
 
10
  onClick,
-
 
11
  fullWidth,
-
 
12
  styles = {},
-
 
13
  color = 'inherit',
-
 
14
  ...props
-
 
15
}) => {
-
 
16
  return (
-
 
17
    <AppButton
-
 
18
      color={color}
-
 
19
      onClick={onClick}
-
 
20
      fullWidth={false}
-
 
21
      sx={styles}
-
 
22
      {...props}
-
 
23
    >
-
 
24
      {children}
-
 
25
    </AppButton>
-
 
26
  )
-
 
27
}
-
 
28
 
-
 
29
export default Button
-