ndious/the.12.gy

View on GitHub
src/components/blocks/build.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react'
import PropTypes from 'prop-types'
import { Col } from 'react-bootstrap'

const Build = ({url, src, alt}) => (
  <Col xs={4} sm={6} className="build-link">
    <a href={url}><img alt={alt} src={src} /></a>
  </Col>
)

Build.propTypes = {
  url: PropTypes.string.isRequired,
  src: PropTypes.string.isRequired,
  alt: PropTypes.string.isRequired
}

export default Build