Commit 96fd7e36 authored by enzorusso's avatar enzorusso
Browse files

devolvendo button card para versão anterior

Showing with 3 additions and 6 deletions
+3 -6
......@@ -14,8 +14,8 @@ const defaultProps = {
color: colors.theme.white,
sizeIcon: '1.125em',
textSize: '1em',
height: '5em',
width: '16.25em',
height: '5em',
onClick: () => {
alert('clicou');
},
......@@ -30,8 +30,8 @@ type ButtonProps = {
icon?: IconDefinition;
sizeIcon?: string;
textSize?: string;
height?: string;
width?: string;
height?: string;
onClick?: () => void;
} & typeof defaultProps;
......@@ -65,9 +65,6 @@ function ButtonCard(props: ButtonProps) {
marginRight: '1rem',
fontSize: `${sizeIcon}`,
},
textStl: {
margin: '1em',
},
};
return (
......@@ -79,7 +76,7 @@ function ButtonCard(props: ButtonProps) {
onClick={onClick}
>
<FontAwesomeIcon icon={icon} style={styles.icon} />
<div style={styles.textStl}>{text}</div>
{text}
</button>
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment