Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 613 Rev 632
Línea 3... Línea 3...
3
const InputOption = ({
3
const InputOption = ({
4
  icon: Icon = null,
4
  icon: Icon = null,
5
  iconColor = "var(--icons-color)",
5
  iconColor = "var(--icons-color)",
6
  className = "",
6
  className = "",
7
  label = "",
7
  label = "",
-
 
8
  children = null,
8
  ...rest
9
  ...rest
9
}) => {
10
}) => {
10
  return (
11
  return (
11
    <button className={className} {...rest}>
12
    <button className={className} {...rest}>
12
      {Icon && <Icon style={{ color: iconColor }} />}
13
      {Icon && <Icon style={{ color: iconColor }} />}
13
      {label}
14
      {label}
-
 
15
      {children}
14
    </button>
16
    </button>
15
  );
17
  );
16
};
18
};
Línea 17... Línea 19...
17
 
19