Rev 2152 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react';
import { styled } from '@mui/material';
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 }} /> : null}
{label}
{children}
</StyledButton>
);
};
export default InputOption;