{"size": 257, "ext": "js", "max_stars_repo_path": "src/components/atoms/CTA.js", "max_stars_repo_name": "michalnitka/portfolio-build", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/atoms/CTA.js", "max_issues_repo_name": "michalnitka/portfolio-build", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/atoms/CTA.js", "max_forks_repo_name": "michalnitka/portfolio-build", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.7692307692, "max_line_length": 77, "alphanum_fraction": 0.6186770428}
import React from "react"
import { Link } from "gatsby"

const CTA = ({ children, direction, styledClass }) => {
  return (
    <Link to={direction} className={`btn ${styledClass ? styledClass : ""}`}>
      {children}
    </Link>
  )
}

export default CTA
