Kalkuli/2018.2-Kalkuli_Front-End

View on GitHub
src/components/UI/Button/SignUp/SignUp.js

Summary

Maintainability
A
35 mins
Test Coverage
import React from 'react'
import './SignUp.scss'

const SignUp = (props) => {
  let styles = ["SignUp-btn"]
  if(props.size === "large")
    styles.push("large")
  else if(props.size === "small")
    styles.push("small")
  return (
    <div onClick={props.click} className={styles.join(' ')} >Cadastre sua empresa</div>
  )
}

export default SignUp