Rev 753 | Rev 2152 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react'import styled from 'styled-components'const StyledButton = styled.button`&:hover .reactions {transform: scale(1);}`const InputOption = ({icon: Icon = null,iconColor = 'var(--icons-color)',className = '',label = '',children = null,...rest}) => {return (<StyledButton className={className} {...rest}>{Icon && <Icon style={{ color: iconColor }} />}{label}{children}</StyledButton>)}export default InputOption