Select Git revision
-
Min Dong Hyeun authoredMin Dong Hyeun authored
Button.js 259 B
function Button({ type, text, onClick, disabled }) {
return (
<button
className={disabled ? "disabled" : "active"}
type={type}
onClick={onClick}
disabled={disabled}
>
{text}
</button>
);
}
export default Button;