Created
July 7, 2018 16:44
-
-
Save brizental/9a8053c62e5f9b9328427d37cad5abc7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import './Botao.css' | |
function Botao({ desabilitado }) { | |
return ( | |
<button className={`botao ${desabilitado ? 'botao--desabilitado' : ''}`}> | |
{props.children} | |
</button> | |
); | |
} | |
export default Botao |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment