initiatived21/d21

View on GitHub
client/app/PledgeView/components/PledgeLocation.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React, { PropTypes } from 'react'
import ChildComponent       from '../../lib/Base/components/ChildComponent.js'

export default class PledgeLocation extends ChildComponent {
  static propTypes = {
    children: PropTypes.string.isRequired
  }

  render() {
    const { children } = this.props

    return (
      <p className="c-pledge__location u-mt-small">
        {this.t('.title')}: {children}
      </p>
    )
  }
}