cbillowes/curious-programmer-oxygen

View on GitHub
src/components/Credit/Component.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React, { Component } from "react"

class Credit extends Component {
  render() {
    const { linkTo, linkText, description } = this.props
    return (
      <section className="credit">
        {description}{" "}
        <a
          href={linkTo}
          className="button badge badge-light"
          target="_blank"
          no-follow>
          {linkText}
        </a>
      </section>
    )
  }
}

export default Credit