Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 754 Rev 2152
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import styled from 'styled-components'
2
import { styled } from '@mui/material'
Línea 3... Línea 3...
3
 
3
 
4
const StyledButton = styled.button`
4
const StyledButton = styled('button')`
5
  &:hover .reactions {
5
  &:hover .reactions {
6
    transform: scale(1);
6
    transform: scale(1);
7
  }
7
  }
Línea 15... Línea 15...
15
  children = null,
15
  children = null,
16
  ...rest
16
  ...rest
17
}) => {
17
}) => {
18
  return (
18
  return (
19
    <StyledButton className={className} {...rest}>
19
    <StyledButton className={className} {...rest}>
20
      {Icon && <Icon style={{ color: iconColor }} />}
20
      {Icon ? <Icon style={{ color: iconColor }} /> : null}
21
      {label}
21
      {label}
22
      {children}
22
      {children}
23
    </StyledButton>
23
    </StyledButton>
24
  )
24
  )
25
}
25
}