<commit_before>import React from 'react'
import PropTypes from 'prop-types'

const TitleWithLink = ({title, rightLinkLabel, rightLinkAddr}) =>
  <div>
    <span>{title}</span>
    <a href={rightLinkAddr} className="pull-right">{rightLinkLabel}</a>
  </div>

TitleWithLink.propTypes = {
  title: PropTypes.string.isRequired,
  rightLinkLabel: PropTypes.string.isRequired,
  rightLinkAddr: PropTypes.string.isRequired,
}

export default TitleWithLink<commit_msg>style the link in TitleWithLink so it's more visible<commit_after>import React from 'react'
import PropTypes from 'prop-types'

const linkStyle = {color: 'white', textDecoration: 'underline'}

const TitleWithLink = ({title, rightLinkLabel, rightLinkAddr}) =>
  <div>
    <span>{title}</span>
    <a href={rightLinkAddr} className="pull-right" style={linkStyle}>
      {rightLinkLabel}
    </a>
  </div>

TitleWithLink.propTypes = {
  title: PropTypes.string.isRequired,
  rightLinkLabel: PropTypes.string.isRequired,
  rightLinkAddr: PropTypes.string.isRequired,
}

export default TitleWithLink
{'fraction_non_alphanumeric': 0.1252371916508539, 'fraction_numerical': 0.0, 'mean_word_length': 5.512345679012346, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4724847', 'n_tokens_mistral': 322, 'n_tokens_neox': 328, 'n_words': 74}