Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2152 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3719 stevensc 1
import React from 'react';
2
import { styled } from '@mui/material';
3
 
4
const StyledButton = styled('button')`
5
  &:hover .reactions {
6
    transform: scale(1);
7
  }
8
`;
9
 
10
const InputOption = ({
11
  icon: Icon = null,
12
  iconColor = 'var(--icons-color)',
13
  className = '',
14
  label = '',
15
  children = null,
16
  ...rest
17
}) => {
18
  return (
19
    <StyledButton className={className} {...rest}>
20
      {Icon ? <Icon style={{ color: iconColor }} /> : null}
21
      {label}
22
      {children}
23
    </StyledButton>
24
  );
25
};
26
 
27
export default InputOption;